This commit is contained in:
parent
c9c58492cc
commit
5db8b002fe
|
@ -26,10 +26,10 @@ class Manifest {
|
||||||
afterInstall = async () => {
|
afterInstall = async () => {
|
||||||
const executableFilePath = Lib.path.resolve(install_path, "run_win.bat")
|
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) => {
|
execute = async () => {
|
||||||
Lib.open.spawn(install_path + "Content Warning.exe")
|
Lib.open.spawn(install_path + "run_win.bat")
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue