Skip to content

Instantly share code, notes, and snippets.

@yongjulejule
Last active February 17, 2022 11:29
Show Gist options
  • Save yongjulejule/9f324b144f019aa0e8b5710adea9186f to your computer and use it in GitHub Desktop.
Save yongjulejule/9f324b144f019aa0e8b5710adea9186f to your computer and use it in GitHub Desktop.
vscode autoinstall script in 42school
#!/bin/bash
FLAG="$HOME/goinfre/Applications/VSCode-darwin-universal.zip"
if [ ! -e "$FLAG" ]; then
mkdir -p $HOME/goinfre/Applications
curl -L -o $FLAG https://code.visualstudio.com/sha/download\?build\=stable\&os\=darwin-universal
open $FLAG
else
echo "already downloaded"
fi
@yongjulejule
Copy link
Author

2022-02-16 업데이트 -> vscode 최신버전으로 다운받도록

@yongjulejule
Copy link
Author

사용법: 해당 파일을 /path/to/file 에 저장하고
~/.zprofilebash /path/to/file 추가

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment