Skip to content

Commit

Permalink
improve install script
Browse files Browse the repository at this point in the history
  • Loading branch information
deathg-rip committed May 17, 2024
1 parent 050ff2c commit a768d2b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/bootstrap.macos.command
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,20 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

# and pnpm, a package manager that has better dependency resolution.
corepack add pnpm
corepack use pnpm@latest

# Clone the project to tmp directory so we can launch the browser to automate account creation etc.
rm -rf /tmp/starfall
cd /tmp/ && git clone https://github.com/NyanHelsing/starfall.git
cd starfall


# Install and use node 20
nvm install 20
nvm use 20

# AppleScript command to show a Yes/No modal dialog
HAS_GITHUB_ACCOUNT_RESPONSE=$(osascript <<EOF
tell application "System Events"
Expand Down

0 comments on commit a768d2b

Please sign in to comment.