mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Windows: logo does not have a specific background (fixes #33362)
This commit is contained in:
parent
2ae090cdf6
commit
9fa0a77edd
|
@ -312,7 +312,7 @@ function packageTask(platform, arch, opts) {
|
|||
);
|
||||
|
||||
if (platform === 'win32') {
|
||||
all = es.merge(all, gulp.src('resources/win32/code_file.ico', { base: '.' }));
|
||||
all = es.merge(all, gulp.src(['resources/win32/code_file.ico', 'resources/win32/code_70x70.png', 'resources/win32/code_150x150.png'], { base: '.' }));
|
||||
} else if (platform === 'linux') {
|
||||
all = es.merge(all, gulp.src('resources/linux/code.png', { base: '.' }));
|
||||
} else if (platform === 'darwin') {
|
||||
|
@ -338,6 +338,9 @@ function packageTask(platform, arch, opts) {
|
|||
result = es.merge(result, gulp.src('resources/win32/bin/code.sh', { base: 'resources/win32' })
|
||||
.pipe(replace('@@NAME@@', product.nameShort))
|
||||
.pipe(rename(function (f) { f.basename = product.applicationName; f.extname = ''; })));
|
||||
|
||||
result = es.merge(result, gulp.src('resources/win32/VisualElementsManifest.xml', { base: 'resources/win32' })
|
||||
.pipe(rename(product.nameLong + '.VisualElementsManifest.xml')));
|
||||
} else if (platform === 'linux') {
|
||||
result = es.merge(result, gulp.src('resources/linux/bin/code.sh', { base: '.' })
|
||||
.pipe(replace('@@NAME@@', product.applicationName))
|
||||
|
|
8
resources/win32/VisualElementsManifest.xml
Normal file
8
resources/win32/VisualElementsManifest.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<Application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<VisualElements
|
||||
BackgroundColor="#2d2d30"
|
||||
ShowNameOnSquare150x150Logo="on"
|
||||
Square150x150Logo="resources\app\resources\win32\code_150x150.png"
|
||||
Square70x70Logo="resources\app\resources\win32\code_70x70.png"
|
||||
ForegroundText="light" />
|
||||
</Application>
|
BIN
resources/win32/code_150x150.png
Normal file
BIN
resources/win32/code_150x150.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 564 B |
BIN
resources/win32/code_70x70.png
Normal file
BIN
resources/win32/code_70x70.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 338 B |
Loading…
Reference in a new issue