Skip to content

Commit

Permalink
Update checkout-monaco.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjenkins94 committed Nov 12, 2023
1 parent 9933cd9 commit 1a2635d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions checkout-monaco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ fi

cd demo
npm uninstall dockerode
# FIXME: This doesn't work on macOS
sed -i "s/file:[^\"]*/latest/g" package.json

if [[ "$(uname -s)" == Darwin* ]]; then
sed -i '' "s/file:[^\"]*/latest/g" package.json
else
sed -i "s/file:[^\"]*/latest/g" package.json
fi

npm install --ignore-scripts vscode@npm:@codingame/monaco-vscode-api
node node_modules/vscode/monaco-treemending.js
#npm start
Expand Down

0 comments on commit 1a2635d

Please sign in to comment.