mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
SQL Operations Studio Public Preview 1 (0.23) release source code
This commit is contained in:
6
resources/win32/bin/code.cmd
Normal file
6
resources/win32/bin/code.cmd
Normal file
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
setlocal
|
||||
set VSCODE_DEV=
|
||||
set ELECTRON_RUN_AS_NODE=1
|
||||
call "%~dp0..\@@NAME@@.exe" "%~dp0..\resources\app\out\cli.js" %*
|
||||
endlocal
|
||||
23
resources/win32/bin/code.sh
Normal file
23
resources/win32/bin/code.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
|
||||
NAME="@@NAME@@"
|
||||
VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")"
|
||||
ELECTRON="$VSCODE_PATH/$NAME.exe"
|
||||
if grep -q Microsoft /proc/version; then
|
||||
# If running under WSL don't pass cli.js to Electron as environment vars
|
||||
# cannot be transferred from WSL to Windows
|
||||
# See: https://github.com/Microsoft/BashOnWindows/issues/1363
|
||||
# https://github.com/Microsoft/BashOnWindows/issues/1494
|
||||
"$ELECTRON" "$@"
|
||||
exit $?
|
||||
fi
|
||||
if [ "$(expr substr $(uname -s) 1 9)" == "CYGWIN_NT" ]; then
|
||||
CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js")
|
||||
else
|
||||
CLI="$VSCODE_PATH/resources/app/out/cli.js"
|
||||
fi
|
||||
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
|
||||
exit $?
|
||||
BIN
resources/win32/code.ico
Normal file
BIN
resources/win32/code.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
BIN
resources/win32/code_file.ico
Normal file
BIN
resources/win32/code_file.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 244 KiB |
BIN
resources/win32/inno-big.bmp
Normal file
BIN
resources/win32/inno-big.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
BIN
resources/win32/inno-small.bmp
Normal file
BIN
resources/win32/inno-small.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user