fixes #114137
This commit is contained in:
parent
3f37b664fc
commit
adb037b74d
2 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@ function prepareDebPackage(arch) {
|
||||||
.pipe(replace('@@QUALITY@@', product.quality || '@@QUALITY@@'))
|
.pipe(replace('@@QUALITY@@', product.quality || '@@QUALITY@@'))
|
||||||
.pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@'))
|
.pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@'))
|
||||||
.pipe(replace('@@REPOSITORY_NAME@@', arch === 'x64' ? 'vscode' : 'code'))
|
.pipe(replace('@@REPOSITORY_NAME@@', arch === 'x64' ? 'vscode' : 'code'))
|
||||||
|
.pipe(replace('@@SUPPORTED_ARCHITECTURES@@', arch === 'x64' ? 'amd64' : 'amd64,arm64,armhf'))
|
||||||
.pipe(rename('DEBIAN/postinst'));
|
.pipe(rename('DEBIAN/postinst'));
|
||||||
|
|
||||||
const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, workspaceMime, icon, bash_completion, zsh_completion, code);
|
const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, workspaceMime, icon, bash_completion, zsh_completion, code);
|
||||||
|
|
|
@ -73,6 +73,6 @@ NdCFTW7wY0Fb1fWJ+/KTsC4=
|
||||||
if [ "$WRITE_SOURCE" -eq "1" ]; then
|
if [ "$WRITE_SOURCE" -eq "1" ]; then
|
||||||
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] http://packages.microsoft.com/repos/@@REPOSITORY_NAME@@ stable main" > $CODE_SOURCE_PART
|
deb [arch=@@SUPPORTED_ARCHITECTURES@@] http://packages.microsoft.com/repos/@@REPOSITORY_NAME@@ stable main" > $CODE_SOURCE_PART
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue