Skip to content

Commit

Permalink
Update macos-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks authored Oct 10, 2024
1 parent d59fe73 commit d343133
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions macos-run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
cd /tmp && curl -LO "https://github.com/Loudbooks/ReportBook/releases/latest/download/reportbook"
chmod +x ./reportbook
./reportbook
rm ./reportbook
if [[ $(uname -m) == 'arm64' ]]; then
cd /tmp && curl -LO "https://github.com/Loudbooks/ReportBook/releases/latest/download/reportbook-macos-aarch64"
chmod +x ./reportbook-macos-aarch64
./reportbook-macos-aarch64
rm ./reportbook-macos-aarch64
else
cd /tmp && curl -LO "https://github.com/Loudbooks/ReportBook/releases/latest/download/reportbook-macos-x86_64"
chmod +x ./reportbook-macos-x86_64
./reportbook-macos-x86_64
rm ./reportbook-macos-x86_64
fi

0 comments on commit d343133

Please sign in to comment.