mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-24 09:23:50 +03:00
(experiment) skip everything that makes vscodium different
This commit is contained in:
parent
e974e22d99
commit
229274f9c8
@ -5,13 +5,13 @@ set -e
|
||||
export npm_config_arch="$BUILDARCH"
|
||||
export npm_config_target_arch="$BUILDARCH"
|
||||
|
||||
cp -rp src/* vscode/
|
||||
# cp -rp src/* vscode/
|
||||
cd vscode || exit
|
||||
|
||||
../update_settings.sh
|
||||
# ../update_settings.sh
|
||||
|
||||
# apply patches
|
||||
patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
|
||||
# patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
|
||||
|
||||
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
|
||||
yarn postinstall
|
||||
@ -23,7 +23,7 @@ if [[ "$BUILDARCH" == *"arm"* ]]; then
|
||||
npx electron-rebuild -f -w vscode-sqlite3
|
||||
fi
|
||||
|
||||
mv product.json product.json.bak
|
||||
# mv product.json product.json.bak
|
||||
|
||||
# set fields in product.json
|
||||
tipsAndTricksUrl='setpath(["tipsAndTricksUrl"]; "https://go.microsoft.com/fwlink/?linkid=852118")'
|
||||
@ -56,10 +56,10 @@ extensionAllowedProposedApi='setpath(["extensionAllowedProposedApi"]; getpath(["
|
||||
serverDataFolderName='setpath(["serverDataFolderName"]; ".vscode-server-oss")'
|
||||
|
||||
product_json_changes="${tipsAndTricksUrl} | ${twitterUrl} | ${requestFeatureUrl} | ${documentationUrl} | ${introductoryVideosUrl} | ${extensionAllowedBadgeProviders} | ${updateUrl} | ${releaseNotesUrl} | ${keyboardShortcutsUrlMac} | ${keyboardShortcutsUrlLinux} | ${keyboardShortcutsUrlWin} | ${quality} | ${extensionsGallery} | ${linkProtectionTrustedDomains} | ${nameShort} | ${nameLong} | ${linuxIconName} | ${applicationName} | ${win32MutexName} | ${win32DirName} | ${win32NameVersion} | ${win32RegValueName} | ${win32AppUserModelId} | ${win32ShellNameShort} | ${win32x64UserAppId} | ${urlProtocol} | ${extensionAllowedProposedApi} | ${serverDataFolderName}"
|
||||
cat product.json.bak | jq "${product_json_changes}" > product.json
|
||||
# cat product.json.bak | jq "${product_json_changes}" > product.json
|
||||
cat product.json
|
||||
|
||||
../undo_telemetry.sh
|
||||
# ../undo_telemetry.sh
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
# microsoft adds their apt repo to sources
|
||||
|
Loading…
Reference in New Issue
Block a user