mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Add server folder
This commit is contained in:
4
resources/server/bin/helpers/browser.cmd
Normal file
4
resources/server/bin/helpers/browser.cmd
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
setlocal
|
||||
call "%~dp0..\..\node" "%~dp0..\..\out\vs\server\cli.js" "@@APPNAME@@" "@@VERSION@@" "@@COMMIT@@" "@@APPNAME@@.cmd" "--openExternal" %*
|
||||
endlocal
|
||||
12
resources/server/bin/helpers/browser.sh
Normal file
12
resources/server/bin/helpers/browser.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
ROOT=$(dirname "$(dirname "$(dirname "$0")")")
|
||||
|
||||
APP_NAME="@@APPNAME@@"
|
||||
VERSION="@@VERSION@@"
|
||||
COMMIT="@@COMMIT@@"
|
||||
EXEC_NAME="@@APPNAME@@"
|
||||
CLI_SCRIPT="$ROOT/out/vs/server/cli.js"
|
||||
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "--openExternal" "$@"
|
||||
Reference in New Issue
Block a user