fix: remove applications folder on stable (#300211)

This commit is contained in:
Robo
2026-03-10 02:09:51 +09:00
committed by GitHub
parent 9cf71aa122
commit 0fb3dfe61f

View File

@@ -550,7 +550,7 @@ function packageTask(platform: string, arch: string, sourceFolderName: string, d
'**',
'!LICENSE',
'!version',
...(platform === 'darwin' && !isInsiderOrExploration ? ['!**/Contents/Applications'] : []),
...(platform === 'darwin' && !isInsiderOrExploration ? ['!**/Contents/Applications', '!**/Contents/Applications/**'] : []),
...(platform === 'win32' && !isInsiderOrExploration ? ['!**/electron_proxy.exe'] : []),
], { dot: true }));