Skip to content

Commit 966cd54

Browse files
committed
Rename key, add distro update
1 parent 789a267 commit 966cd54

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

build/gulpfile.vscode.linux.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function prepareDebPackage(arch) {
4242
.pipe(replace('@@NAME_LONG@@', product.nameLong))
4343
.pipe(replace('@@NAME_SHORT@@', product.nameShort))
4444
.pipe(replace('@@NAME@@', product.applicationName))
45-
.pipe(replace('@@ICON@@', product.iconName))
45+
.pipe(replace('@@ICON@@', product.linuxIconName))
4646
.pipe(replace('@@URLPROTOCOL@@', product.urlProtocol));
4747

4848
const appdata = gulp.src('resources/linux/code.appdata.xml', { base: '.' })
@@ -52,7 +52,7 @@ function prepareDebPackage(arch) {
5252
.pipe(rename('usr/share/appdata/' + product.applicationName + '.appdata.xml'));
5353

5454
const icon = gulp.src('resources/linux/code.png', { base: '.' })
55-
.pipe(rename('usr/share/pixmaps/' + product.applicationName + '.png'));
55+
.pipe(rename('usr/share/pixmaps/' + product.linuxIconName + '.png'));
5656

5757
// const bash_completion = gulp.src('resources/completions/bash/code')
5858
// .pipe(rename('usr/share/bash-completion/completions/code'));
@@ -132,7 +132,7 @@ function prepareRpmPackage(arch) {
132132
.pipe(replace('@@NAME_LONG@@', product.nameLong))
133133
.pipe(replace('@@NAME_SHORT@@', product.nameShort))
134134
.pipe(replace('@@NAME@@', product.applicationName))
135-
.pipe(replace('@@ICON@@', product.iconName))
135+
.pipe(replace('@@ICON@@', product.linuxIconName))
136136
.pipe(replace('@@URLPROTOCOL@@', product.urlProtocol));
137137

138138
const appdata = gulp.src('resources/linux/code.appdata.xml', { base: '.' })
@@ -142,7 +142,7 @@ function prepareRpmPackage(arch) {
142142
.pipe(rename('usr/share/appdata/' + product.applicationName + '.appdata.xml'));
143143

144144
const icon = gulp.src('resources/linux/code.png', { base: '.' })
145-
.pipe(rename('BUILD/usr/share/pixmaps/' + product.applicationName + '.png'));
145+
.pipe(rename('BUILD/usr/share/pixmaps/' + product.linuxIconName + '.png'));
146146

147147
// const bash_completion = gulp.src('resources/completions/bash/code')
148148
// .pipe(rename('BUILD/usr/share/bash-completion/completions/code'));
@@ -202,11 +202,11 @@ function prepareSnapPackage(arch) {
202202
.pipe(replace('@@NAME_LONG@@', product.nameLong))
203203
.pipe(replace('@@NAME_SHORT@@', product.nameShort))
204204
.pipe(replace('@@NAME@@', product.applicationName))
205-
.pipe(replace('@@ICON@@', `/usr/share/pixmaps/${product.iconName}.png`))
205+
.pipe(replace('@@ICON@@', `/usr/share/pixmaps/${product.linuxIconName}.png`))
206206
.pipe(rename(`usr/share/applications/${product.applicationName}.desktop`));
207207

208208
const icon = gulp.src('resources/linux/code.png', { base: '.' })
209-
.pipe(rename(`usr/share/pixmaps/${product.applicationName}.png`));
209+
.pipe(rename(`usr/share/pixmaps/${product.linuxIconName}.png`));
210210

211211
const code = gulp.src(binaryDir + '/**/*', { base: binaryDir })
212212
.pipe(rename(function (p) { p.dirname = `usr/share/${product.applicationName}/${p.dirname}`; }));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-oss-dev",
33
"version": "1.33.0",
4-
"distro": "533c92fa5e71d449c33c99a6d7c0fbc9a12ea537",
4+
"distro": "81e929b72c233fa7acf9ceb0863e59f4d3a5fe24",
55
"author": {
66
"name": "Microsoft Corporation"
77
},

product.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"nameShort": "Code - OSS",
33
"nameLong": "Code - OSS",
44
"applicationName": "code-oss",
5-
"iconName": "vscode-oss",
65
"dataFolderName": ".vscode-oss",
76
"win32MutexName": "vscodeoss",
87
"licenseName": "MIT",
@@ -17,6 +16,7 @@
1716
"win32AppUserModelId": "Microsoft.CodeOSS",
1817
"win32ShellNameShort": "C&ode - OSS",
1918
"darwinBundleIdentifier": "com.visualstudio.code.oss",
19+
"linuxIconName": "com.visualstudio.code.oss",
2020
"reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new",
2121
"urlProtocol": "code-oss",
2222
"extensionAllowedProposedApi": [

0 commit comments

Comments
 (0)