fix: add version folder to visualelements manifest icon path (#299239)

This commit is contained in:
Robo
2026-03-05 02:31:07 +09:00
committed by GitHub
parent 98dc3fd3a4
commit 4c1cc1582a
2 changed files with 4 additions and 3 deletions

View File

@@ -599,6 +599,7 @@ function packageTask(platform: string, arch: string, sourceFolderName: string, d
}
result = es.merge(result, gulp.src('resources/win32/VisualElementsManifest.xml', { base: 'resources/win32' })
.pipe(replace('@@VERSIONFOLDER@@', versionedResourcesFolder ? `${versionedResourcesFolder}\\` : ''))
.pipe(rename(product.nameShort + '.VisualElementsManifest.xml')));
result = es.merge(result, gulp.src('.build/policies/win32/**', { base: '.build/policies/win32' })

View File

@@ -2,8 +2,8 @@
<VisualElements
BackgroundColor="#2D2D30"
ShowNameOnSquare150x150Logo="on"
Square150x150Logo="resources\app\resources\win32\code_150x150.png"
Square70x70Logo="resources\app\resources\win32\code_70x70.png"
ForegroundText="light"
Square150x150Logo="@@VERSIONFOLDER@@resources\app\resources\win32\code_150x150.png"
Square70x70Logo="@@VERSIONFOLDER@@resources\app\resources\win32\code_70x70.png"
ForegroundText="light"
ShortDisplayName="Code - OSS" />
</Application>