This commit is contained in:
parent
5db8b002fe
commit
f1287a6c9c
|
@ -1,6 +1,6 @@
|
||||||
class Manifest {
|
class Manifest {
|
||||||
static useLib = ["path","open", "fs"]
|
static useLib = ["path", "open", "fs"]
|
||||||
|
|
||||||
static id = "content_warning"
|
static id = "content_warning"
|
||||||
static version = "1.15.a"
|
static version = "1.15.a"
|
||||||
static pkg_name = "Content Warning"
|
static pkg_name = "Content Warning"
|
||||||
|
@ -26,7 +26,7 @@ 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`, {encoding: "utf8"})
|
await Lib.fs.writeFileSync(executableFilePath, `"${install_path}\\Content Warning.exe"`, { encoding: "utf8" })
|
||||||
}
|
}
|
||||||
|
|
||||||
execute = async () => {
|
execute = async () => {
|
||||||
|
|
Loading…
Reference in New Issue