Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions macOS/Apps/Visual Studio Code/installVSCode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ appname="Visual Studio Code"
app="Visual Studio Code.app" # The actual name of our App once installed
logandmetadir="/Library/Logs/Microsoft/IntuneScripts/installVSCode" # The location of our logs and last updated data
processpath="/Applications/Visual Studio Code.app/Contents/MacOS/Electron" # The process name of the App we are installing
if [[ ! -f "$processpath" ]]; then
processpath="/Applications/Visual Studio Code.app/Contents/MacOS/Code" # New executable name per https://github.com/microsoft/vscode/pull/291948
fi
terminateprocess="false" # Do we want to terminate the running process? If false we'll wait until its not running
autoUpdate="true" # If true, application updates itself and we should not attempt to update

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ appname="Microsoft VS Code"
app="Visual Studio Code.app" # The actual name of our App once installed
logandmetadir="/Library/Application Support/Microsoft/IntuneScripts/installVSCode" # The location of our logs and last updated data
processpath="/Applications/Visual Studio Code.app/Contents/MacOS/Electron" # The process name of the App we are installing
if [[ ! -f "$processpath" ]]; then
processpath="/Applications/Visual Studio Code.app/Contents/MacOS/Code" # New executable name per https://github.com/microsoft/vscode/pull/291948
fi
terminateprocess="false" # Do we want to terminate the running process? If false we'll wait until its not running
autoUpdate="true" # If true, application updates itself and we should not attempt to update

Expand Down