Skip to content

Commit e840e83

Browse files
committed
set executable bits
1 parent 5b3eff0 commit e840e83

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

build/gulpfile.vscode.linux.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ function prepareRpmPackage(arch) {
118118
const desktopUrlHandler = gulp.src('resources/linux/code-url-handler.desktop', { base: '.' })
119119
.pipe(rename('BUILD/usr/share/applications/' + product.applicationName + '-url-handler.desktop'));
120120

121-
const desktops = es.merge(desktop, desktopUrlHandler)
122-
.pipe(replace('@@NAME_LONG@@', product.nameLong))
123-
.pipe(replace('@@NAME_SHORT@@', product.nameShort))
124-
.pipe(replace('@@NAME@@', product.applicationName))
125-
.pipe(replace('@@ICON@@', product.applicationName))
126-
.pipe(replace('@@URLPROTOCOL@@', product.urlProtocol));
121+
const desktops = es.merge(desktop, desktopUrlHandler)
122+
.pipe(replace('@@NAME_LONG@@', product.nameLong))
123+
.pipe(replace('@@NAME_SHORT@@', product.nameShort))
124+
.pipe(replace('@@NAME@@', product.applicationName))
125+
.pipe(replace('@@ICON@@', product.applicationName))
126+
.pipe(replace('@@URLPROTOCOL@@', product.urlProtocol));
127127

128128
const appdata = gulp.src('resources/linux/code.appdata.xml', { base: '.' })
129129
.pipe(replace('@@NAME_LONG@@', product.nameLong))
@@ -217,7 +217,6 @@ function buildSnapPackage(arch) {
217217
const snapBuildPath = getSnapBuildPath(arch);
218218
const snapFilename = `${product.applicationName}-${packageJson.version}-${linuxPackageRevision}-${arch}.snap`;
219219
return shell.task([
220-
`chmod a+x ${snapBuildPath}/electron-launch ${snapBuildPath}/usr/share/${product.applicationName}/snapUpdate.sh`,
221220
`snapcraft --version`,
222221
`cd ${snapBuildPath} && snapcraft snap --output ../${snapFilename}`
223222
]);

resources/linux/snap/electron-launch

100644100755
File mode changed.

0 commit comments

Comments
 (0)