mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-03 23:39:31 +00:00
chore: update application name logic for win32 scripts (#295777)
This commit is contained in:
@@ -10,7 +10,8 @@ if "%VSCODE_SKIP_PRELAUNCH%"=="" (
|
||||
node build/lib/preLaunch.ts
|
||||
)
|
||||
|
||||
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
|
||||
set "NAMESHORT="
|
||||
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do if not defined NAMESHORT set "NAMESHORT=%%~a"
|
||||
set NAMESHORT=%NAMESHORT: "=%
|
||||
set NAMESHORT=%NAMESHORT:"=%.exe
|
||||
set CODE=".build\electron\%NAMESHORT%"
|
||||
|
||||
Reference in New Issue
Block a user