From 5db8b002fe3c9237304448e3315ba2e04fe6f8b4 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Mon, 17 Jun 2024 02:38:31 +0200 Subject: [PATCH] xd --- manifests/content-warning.rmanifest | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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