build snap packages for linux arm

This commit is contained in:
João Moreno
2020-11-18 10:04:55 +01:00
parent 896848239d
commit edf43e529a
6 changed files with 400 additions and 379 deletions

View File

@@ -237,6 +237,7 @@ 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))
.pipe(rename('snap/snapcraft.yaml'));
const electronLaunch = gulp.src('resources/linux/snap/electron-launch', { base: '.' })