Skip to content

Commit

Permalink
Update gulpfile.vscode.linux.js (#142)
Browse files Browse the repository at this point in the history
Added .toLowerCase() in the snapcraft function due the unsupported of capital letters in snap store utility.
  • Loading branch information
InSelfControll authored Dec 12, 2024
1 parent cb33ac2 commit 40c082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/gulpfile.vscode.linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function prepareSnapPackage(arch) {
.pipe(rename(function (p) { p.dirname = `usr/share/${product.applicationName}/${p.dirname}`; }));

const snapcraft = gulp.src('resources/linux/snap/snapcraft.yaml', { base: '.' })
.pipe(replace('@@NAME@@', product.applicationName))
.pipe(replace('@@NAME@@', product.applicationName.toLowerCase()))
.pipe(replace('@@VERSION@@', commit.substr(0, 8)))
// Possible run-on values https://snapcraft.io/docs/architectures
.pipe(replace('@@ARCHITECTURE@@', arch === 'x64' ? 'amd64' : arch))
Expand Down

0 comments on commit 40c082e

Please sign in to comment.