diff --git a/manifests/content-warning.rmanifest b/manifests/content-warning.rmanifest index c245594..1a52ed6 100644 --- a/manifests/content-warning.rmanifest +++ b/manifests/content-warning.rmanifest @@ -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") } } \ No newline at end of file