From fe6f505c851843fb0fadb6c5a31e0bf3ea3dc497 Mon Sep 17 00:00:00 2001 From: Vaclav Siml Date: Thu, 23 Feb 2023 23:58:44 +0100 Subject: [PATCH] spawn --- ui/Vars.js | 2 +- ui/index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/Vars.js b/ui/Vars.js index 0272328..c94f295 100644 --- a/ui/Vars.js +++ b/ui/Vars.js @@ -1,5 +1,5 @@ var AsphyxiaPath = "C:\\Users\\kryvas\\Downloads\\asphyxia-core-win-x64\\asphyxia.exe" -var SDVX3Path = "C:\\Users\\kryvas\\Downloads\\sdvx\\Sound voltex iii gravity wars\\spice.exe" +var SDVX3Path = "C:\\UI\\arcade-machine\\ui\\spice.exe" var SDVX4Path = "" var SDVX5Path = "" var browser = "brave.exe" \ No newline at end of file diff --git a/ui/index.html b/ui/index.html index 8dd3bfc..043e280 100644 --- a/ui/index.html +++ b/ui/index.html @@ -107,15 +107,15 @@ case 3: execFile(AsphyxiaPath); - spawn(SDVX3Path); + execFile(SDVX3Path); setTimeout(function(){ - exec("taskkill /im " + browser) + spawn("taskkill /im " + browser) },1200) //console.log(vers); break; case 4: execFile(AsphyxiaPath); - spawn(SDVX4Path); + exec(SDVX4Path); setTimeout(function(){ exec("taskkill /im " + browser) },1200)