mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
@@ -107,6 +107,7 @@ function prepareDebPackage(arch) {
|
|||||||
|
|
||||||
const postinst = gulp.src('resources/linux/debian/postinst.template', { base: '.' })
|
const postinst = gulp.src('resources/linux/debian/postinst.template', { base: '.' })
|
||||||
.pipe(replace('@@NAME@@', product.applicationName))
|
.pipe(replace('@@NAME@@', product.applicationName))
|
||||||
|
.pipe(replace('@@ARCHITECTURE@@', debArch))
|
||||||
.pipe(rename('DEBIAN/postinst'));
|
.pipe(rename('DEBIAN/postinst'));
|
||||||
|
|
||||||
const templates = gulp.src('resources/linux/debian/templates.template', { base: '.' })
|
const templates = gulp.src('resources/linux/debian/templates.template', { base: '.' })
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ Types: deb
|
|||||||
URIs: https://packages.microsoft.com/repos/code
|
URIs: https://packages.microsoft.com/repos/code
|
||||||
Suites: stable
|
Suites: stable
|
||||||
Components: main
|
Components: main
|
||||||
Architectures: amd64,arm64,armhf
|
Architectures: @@ARCHITECTURE@@
|
||||||
Signed-By: $CODE_TRUSTED_PART
|
Signed-By: $CODE_TRUSTED_PART
|
||||||
EOF
|
EOF
|
||||||
if [ -f "$CODE_SOURCE_PART" ]; then
|
if [ -f "$CODE_SOURCE_PART" ]; then
|
||||||
@@ -105,7 +105,7 @@ EOF
|
|||||||
else
|
else
|
||||||
echo "### THIS FILE IS AUTOMATICALLY CONFIGURED ###
|
echo "### THIS FILE IS AUTOMATICALLY CONFIGURED ###
|
||||||
# You may comment out this entry, but any other modifications may be lost.
|
# You may comment out this entry, but any other modifications may be lost.
|
||||||
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main" > $CODE_SOURCE_PART
|
deb [arch=@@ARCHITECTURE@@] https://packages.microsoft.com/repos/code stable main" > $CODE_SOURCE_PART
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sourced from https://packages.microsoft.com/keys/microsoft.asc
|
# Sourced from https://packages.microsoft.com/keys/microsoft.asc
|
||||||
|
|||||||
Reference in New Issue
Block a user