Skip to content

Commit

Permalink
Updated installers to v0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Timmoth committed Oct 23, 2024
1 parent 232f236 commit 97d738c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the download URL and target path
$downloadUrl = "https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.8/aid-win.exe"
$downloadUrl = "https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.9/aid-win.exe"
$installDir = "C:\Program Files\AidCLI"
$filename = "aid.exe"

Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ ARCH="$(uname -m)"

if [[ "$OS" == "Linux" ]]; then
if [[ "$ARCH" == "x86_64" ]]; then
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.8/aid-linux"
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.9/aid-linux"
else
echo "Error: Unsupported architecture for Linux."
exit 1
fi
elif [[ "$OS" == "Darwin" ]]; then
if [[ "$ARCH" == "x86_64" ]]; then
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.8/aid-mac"
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.9/aid-mac"
# Check if running on an x86 mac with Rosetta
if [[ $(sysctl -n sysctl.proc_translated) == "1" ]]; then
echo "Running on Apple Silicon with Rosetta. Consider downloading the ARM64 version."
fi
elif [[ "$ARCH" == "arm64" ]]; then
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.8/aid-mac-arm"
URL="https://github.com/Timmoth/aid-cli/releases/download/aid-0.1.9/aid-mac-arm"
else
echo "Error: Unsupported architecture for macOS."
exit 1
Expand Down

0 comments on commit 97d738c

Please sign in to comment.