mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Add gulp tasks to build deb packages
Build, install and run: gulp vscode-linux-packages sudo dpkg -i out-linux/vscode-amd64.deb code . Installing the package does the following: - Puts VSCode dir at /usr/share/code - Puts code.sh launcher in /usr/bin - Defines a .desktop file to properly integrate with the launcher Fixes #2679
This commit is contained in:
@@ -25,7 +25,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
VSCODE_LAUNCHER="$VSCODE_DIR/launcher.js"
|
||||
VSCODE_LAUNCHER="$VSCODE_DIR/resources/app/resources/common/bin/launcher.js"
|
||||
|
||||
ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 VSCODE_PATH="$VSCODE_DIR/$ELECTRON_FILE" \
|
||||
"$VSCODE_DIR/$ELECTRON_FILE" $VSCODE_LAUNCHER "$@"
|
||||
|
||||
Reference in New Issue
Block a user