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

View File

@ -1,6 +1,6 @@
class Manifest {
static useLib = ["path","open", "fs"]
static useLib = ["path", "open", "fs"]
static id = "content_warning"
static version = "1.15.a"
static pkg_name = "Content Warning"
@ -26,7 +26,7 @@ class Manifest {
afterInstall = async () => {
const executableFilePath = Lib.path.resolve(install_path, "run_win.bat")
await Lib.fs.writeFileSync(executableFilePath, `${install_path}\\Content Warning.exe`, {encoding: "utf8"})
await Lib.fs.writeFileSync(executableFilePath, `"${install_path}\\Content Warning.exe"`, { encoding: "utf8" })
}
execute = async () => {