Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 940b5f4

Browse files
authoredDec 10, 2020
chore: fix run-on values for snap build (#112245)
1 parent dbbf707 commit 940b5f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎build/gulpfile.vscode.linux.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ function prepareSnapPackage(arch) {
238238
const snapcraft = gulp.src('resources/linux/snap/snapcraft.yaml', { base: '.' })
239239
.pipe(replace('@@NAME@@', product.applicationName))
240240
.pipe(replace('@@VERSION@@', commit.substr(0, 8)))
241-
.pipe(replace('@@ARCHITECTURE@@', arch))
241+
// Possible run-on values https://snapcraft.io/docs/architectures
242+
.pipe(replace('@@ARCHITECTURE@@', arch === 'x64' ? 'amd64' : arch))
242243
.pipe(rename('snap/snapcraft.yaml'));
243244

244245
const electronLaunch = gulp.src('resources/linux/snap/electron-launch', { base: '.' })

0 commit comments

Comments
 (0)
Please sign in to comment.