mirror of
https://github.com/danbulant/arcade-machine
synced 2026-07-05 11:00:36 +00:00
spawn
This commit is contained in:
parent
d7505c4e28
commit
fe6f505c85
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
var AsphyxiaPath = "C:\\Users\\kryvas\\Downloads\\asphyxia-core-win-x64\\asphyxia.exe"
|
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 SDVX4Path = ""
|
||||||
var SDVX5Path = ""
|
var SDVX5Path = ""
|
||||||
var browser = "brave.exe"
|
var browser = "brave.exe"
|
||||||
|
|
@ -107,15 +107,15 @@
|
||||||
case 3:
|
case 3:
|
||||||
|
|
||||||
execFile(AsphyxiaPath);
|
execFile(AsphyxiaPath);
|
||||||
spawn(SDVX3Path);
|
execFile(SDVX3Path);
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
exec("taskkill /im " + browser)
|
spawn("taskkill /im " + browser)
|
||||||
},1200)
|
},1200)
|
||||||
//console.log(vers);
|
//console.log(vers);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
execFile(AsphyxiaPath);
|
execFile(AsphyxiaPath);
|
||||||
spawn(SDVX4Path);
|
exec(SDVX4Path);
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
exec("taskkill /im " + browser)
|
exec("taskkill /im " + browser)
|
||||||
},1200)
|
},1200)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue