use double backslash

This commit is contained in:
srgooglo 2023-11-29 15:03:31 +01:00
parent d9da45b208
commit 60f1f0c030
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ module.exports = {
const runwinBat = path.resolve(pack_dir, "runwin.bat")
await fs.writeFileSync(runwinBat, `"${pack_dir}\Lethal Company.exe"`, { encoding: 'utf8' })
await fs.writeFileSync(runwinBat, `"${pack_dir}\\Lethal Company.exe"`, { encoding: 'utf8' })
return true
},
execute: `%install_path%\runwin.bat`
execute: `%install_path%\\runwin.bat`
}