22# shellcheck disable=SC1091,SC2129
33
44# ## Windows
5- # to run with Bash: "C:\Program Files\Git\bin\bash.exe" ./dev/build.sh
5+ # to run with Bash: "C:\Program Files\Git\bin\git- bash.exe" ./dev/build.sh
66# ##
77
88export APP_NAME=" AetherCode"
99export ASSETS_REPOSITORY=" Limbo-Development/aethercode"
1010export BINARY_NAME=" aethercode"
1111export CI_BUILD=" no"
1212export GH_REPO_PATH=" Limbo-Development/aethercode"
13- export ORG_NAME=" Limbo- Development"
13+ export ORG_NAME=" Limbo Development"
1414export SHOULD_BUILD=" yes"
1515export SKIP_ASSETS=" yes"
1616export SKIP_BUILD=" no"
17- export SKIP_SOURCE=" no "
17+ export SKIP_SOURCE=" yes "
1818export VSCODE_LATEST=" no"
1919export VSCODE_QUALITY=" stable"
2020export VSCODE_SKIP_NODE_VERSION_CHECK=" yes"
21-
22- while getopts " :ilops" opt; do
23- case " $opt " in
24- i)
25- export ASSETS_REPOSITORY=" VSCodium/vscodium-insiders"
26- export BINARY_NAME=" codium-insiders"
27- export VSCODE_QUALITY=" insider"
28- ;;
29- l)
30- export VSCODE_LATEST=" yes"
31- ;;
32- o)
33- export SKIP_BUILD=" yes"
34- ;;
35- p)
36- export SKIP_ASSETS=" no"
37- ;;
38- s)
39- export SKIP_SOURCE=" yes"
40- ;;
41- * )
42- ;;
43- esac
44- done
21+ export DISABLE_UPDATE=" yes"
4522
4623case " ${OSTYPE} " in
4724 darwin* )
@@ -80,6 +57,7 @@ echo "SKIP_ASSETS=\"${SKIP_ASSETS}\""
8057echo " VSCODE_ARCH=\" ${VSCODE_ARCH} \" "
8158echo " VSCODE_LATEST=\" ${VSCODE_LATEST} \" "
8259echo " VSCODE_QUALITY=\" ${VSCODE_QUALITY} \" "
60+ echo " DISABLE_UPDATE=\" ${DISABLE_UPDATE} \" "
8361
8462if [[ " ${SKIP_SOURCE} " == " no" ]]; then
8563 rm -rf vscode* VSCode*
@@ -112,7 +90,7 @@ if [[ "${SKIP_BUILD}" == "no" ]]; then
11290 git add .
11391 git reset -q --hard HEAD
11492
115- while [[ -n " $( git log -1 | grep " VSCODIUM HELPER" ) " ]]; do
93+ while [[ -n " $( git log -1 | grep " AETHERCODE HELPER" ) " ]]; do
11694 git reset -q --hard HEAD~
11795 done
11896
@@ -127,9 +105,9 @@ if [[ "${SKIP_BUILD}" == "no" ]]; then
127105 mkdir -p ~ /.gyp
128106
129107 if [[ -f " ${HOME} /.gyp/include.gypi" ]]; then
130- mv ~ /.gyp/include.gypi ~ /.gyp/include.gypi.pre-vscodium
108+ mv ~ /.gyp/include.gypi ~ /.gyp/include.gypi.pre-${APP_NAME_LC}
131109 else
132- echo " {}" > ~ /.gyp/include.gypi.pre-vscodium
110+ echo " {}" > ~ /.gyp/include.gypi.pre-${APP_NAME_LC}
133111 fi
134112
135113 cp ./build/osx/include.gypi ~ /.gyp/include.gypi
@@ -138,7 +116,7 @@ if [[ "${SKIP_BUILD}" == "no" ]]; then
138116 . build.sh
139117
140118 if [[ -f " ./include_${OS_NAME} .gypi" ]]; then
141- mv ~ /.gyp/include.gypi.pre-vscodium ~ /.gyp/include.gypi
119+ mv ~ /.gyp/include.gypi.pre-${APP_NAME_LC} ~ /.gyp/include.gypi
142120 fi
143121
144122 if [[ " ${VSCODE_LATEST} " == " yes" ]]; then
@@ -159,4 +137,4 @@ if [[ "${SKIP_ASSETS}" == "no" ]]; then
159137 fi
160138
161139 . prepare_assets.sh
162- fi
140+ fi
0 commit comments