This commit is contained in:
SrGooglo 2024-06-17 02:38:31 +02:00
parent c9c58492cc
commit 5db8b002fe
1 changed files with 3 additions and 3 deletions

View File

@ -26,10 +26,10 @@ class Manifest {
afterInstall = async () => {
const executableFilePath = Lib.path.resolve(install_path, "run_win.bat")
await Lib.fs.writeFileSync(executableFilePath, `${install_path}\\Content Warning.exe`, "utf8")
await Lib.fs.writeFileSync(executableFilePath, `${install_path}\\Content Warning.exe`, {encoding: "utf8"})
}
execute = async (pkg) => {
Lib.open.spawn(install_path + "Content Warning.exe")
execute = async () => {
Lib.open.spawn(install_path + "run_win.bat")
}
}