mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-27 13:12:21 +10:00
build(win32): appx contextmenu (#2801)
This commit is contained in:
@@ -8,7 +8,7 @@ export PATH="${SDK}:${PATH}"
|
||||
|
||||
APPX_NAME="${BINARY_NAME//-/_}"
|
||||
|
||||
makeappx pack /d "../../../VSCode-win32-${VSCODE_ARCH}/appx/manifest" /p "../../../VSCode-win32-${VSCODE_ARCH}/appx/${APPX_NAME}_${VSCODE_ARCH}.appx" /nv
|
||||
powershell "makeappx pack /d ..\\VSCode-win32-${VSCODE_ARCH}\\appx\\manifest /p ..\\VSCode-win32-${VSCODE_ARCH}\\appx\\${APPX_NAME}_${VSCODE_ARCH}.appx /nv"
|
||||
|
||||
# Remove the raw manifest folder
|
||||
rm -rf "../../../VSCode-win32-${VSCODE_ARCH}/appx/manifest"
|
||||
rm -rf "../VSCode-win32-${VSCODE_ARCH}/appx/manifest"
|
||||
|
||||
@@ -31,6 +31,8 @@ find .build/extensions -type f -name '*.node' -print -delete
|
||||
npm run copy-policy-dto --prefix build
|
||||
node build/lib/policies/policyGenerator.ts build/lib/policies/policyData.jsonc win32
|
||||
|
||||
node build/win32/explorer-dll-fetcher.ts .build/win32/appx
|
||||
|
||||
npm run gulp "vscode-win32-${VSCODE_ARCH}-min-packing"
|
||||
|
||||
. ../build_cli.sh
|
||||
|
||||
@@ -4,12 +4,12 @@ cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||
|
||||
npm run gulp "vscode-win32-${VSCODE_ARCH}-inno-updater"
|
||||
|
||||
. ../build/windows/appx/build.sh
|
||||
|
||||
if [[ "${SHOULD_BUILD_ZIP}" != "no" ]]; then
|
||||
7z.exe a -tzip "../assets/${APP_NAME}-win32-${VSCODE_ARCH}-${RELEASE_VERSION}.zip" -x!CodeSignSummary*.md -x!tools "../VSCode-win32-${VSCODE_ARCH}/*" -r
|
||||
fi
|
||||
|
||||
# . ../build/windows/appx/build.sh
|
||||
|
||||
if [[ "${SHOULD_BUILD_EXE_SYS}" != "no" ]]; then
|
||||
npm run gulp "vscode-win32-${VSCODE_ARCH}-system-setup"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user