Revert "Add separate icons for non-stable builds (#8078)" (#8222)

This reverts commit 9eb438bb24.
This commit is contained in:
Karl Burtram
2019-11-05 11:22:36 -08:00
committed by GitHub
parent e49ff93122
commit 5a392dfd58
26 changed files with 11 additions and 38 deletions

View File

@@ -265,24 +265,12 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
);
if (platform === 'win32') {
if (quality !== 'stable') {
// {{SQL CARBON EDIT}} use separate icons for non-stable
gulp.src([
'resources/win32/code_70x70-insiders.png',
'resources/win32/code_150x150-insiders.png'
]).pipe(rename(function (f) { f.basename = f.basename.replace('-insiders', ''); }))
.pipe(gulp.dest('resources/win32'));
}
all = es.merge(all, gulp.src([
// {{SQL CARBON EDIT}} remove unused icons
'resources/win32/code_70x70.png',
'resources/win32/code_150x150.png'
], { base: '.' }));
} else if (platform === 'linux') {
// {{SQL CARBON EDIT}} use separate icons for non-stable
if (quality !== 'stable') {
gulp.src('resources/linux/code-insiders.png').pipe(rename('resources/linux/code.png'));
}
all = es.merge(all, gulp.src('resources/linux/code.png', { base: '.' }));
} else if (platform === 'darwin') {
const shortcut = gulp.src('resources/darwin/bin/code.sh')
@@ -454,7 +442,7 @@ gulp.task('vscode-translations-pull', function () {
gulp.task('vscode-translations-import', function () {
// {{SQL CARBON EDIT}} - Replace function body with our own
return new Promise(function (resolve) {
return new Promise(function(resolve) {
[...i18n.defaultLanguages, ...i18n.extraLanguages].forEach(language => {
let languageId = language.translationId ? language.translationId : language.id;
gulp.src(`resources/xlf/${languageId}/**/*.xlf`)