fix startup packaging and content guardrails
This commit is contained in:
@@ -275,7 +275,8 @@ function writeLauncher(bundleRoot, target) {
|
||||
"@echo off",
|
||||
"setlocal",
|
||||
'set "ROOT=%~dp0"',
|
||||
'"%ROOT%node\\node.exe" "%ROOT%app\\bin\\feynman.js" %*',
|
||||
'if "%ROOT:~-1%"=="\\" set "ROOT=%ROOT:~0,-1%"',
|
||||
'"%ROOT%\\node\\node.exe" "%ROOT%\\app\\bin\\feynman.js" %*',
|
||||
"",
|
||||
].join("\r\n"),
|
||||
"utf8",
|
||||
|
||||
Reference in New Issue
Block a user