diff options
author | Robo <hop2deep@gmail.com> | 2020-12-11 01:10:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 01:10:40 +0300 |
commit | 940b5f4bb5fa47866a54529ed759d95d09ee80be (patch) | |
tree | d46d13bb3018588c8ebc43a0f1c0aa92e5939067 | |
parent | dbbf7079b20b3036b3ff5ac2e2106b84dd3c6d66 (diff) |
chore: fix run-on values for snap build (#112245)1.52.0
-rw-r--r-- | build/gulpfile.vscode.linux.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js index 9de7f9bb62c..b6732b7fa16 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js @@ -238,7 +238,8 @@ function prepareSnapPackage(arch) { const snapcraft = gulp.src('resources/linux/snap/snapcraft.yaml', { base: '.' }) .pipe(replace('@@NAME@@', product.applicationName)) .pipe(replace('@@VERSION@@', commit.substr(0, 8))) - .pipe(replace('@@ARCHITECTURE@@', arch)) + // Possible run-on values https://snapcraft.io/docs/architectures + .pipe(replace('@@ARCHITECTURE@@', arch === 'x64' ? 'amd64' : arch)) .pipe(rename('snap/snapcraft.yaml')); const electronLaunch = gulp.src('resources/linux/snap/electron-launch', { base: '.' }) |