mirror of
https://github.com/danbulant/arcade-machine
synced 2026-06-16 04:51:05 +00:00
minor changes
This commit is contained in:
parent
9b38b4fd95
commit
d7505c4e28
2 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
var AsphyxiaPath = "C:\\Users\\kryvas\\Downloads\\asphyxia-core-win-x64\\asphyxia.exe"
|
||||
var SDVX3Path = "C:\\test\\cmd2.exe"
|
||||
var SDVX3Path = "C:\\Users\\kryvas\\Downloads\\sdvx\\Sound voltex iii gravity wars\\spice.exe"
|
||||
var SDVX4Path = ""
|
||||
var SDVX5Path = ""
|
||||
var browser = "brave.exe"
|
||||
|
|
@ -100,14 +100,14 @@
|
|||
</script>
|
||||
<script>
|
||||
var vers = 0;
|
||||
const { execFile, exec } = require('child_process');
|
||||
const { execFile, exec, spawn } = require('child_process');
|
||||
function sdvx(){
|
||||
console.log("promenna",vers);
|
||||
switch (vers) {
|
||||
case 3:
|
||||
|
||||
execFile(AsphyxiaPath);
|
||||
execFile(SDVX3Path);
|
||||
spawn(SDVX3Path);
|
||||
setTimeout(function(){
|
||||
exec("taskkill /im " + browser)
|
||||
},1200)
|
||||
|
|
@ -115,14 +115,14 @@
|
|||
break;
|
||||
case 4:
|
||||
execFile(AsphyxiaPath);
|
||||
execFile(SDVX4Path);
|
||||
spawn(SDVX4Path);
|
||||
setTimeout(function(){
|
||||
exec("taskkill /im " + browser)
|
||||
},1200)
|
||||
break;
|
||||
case 5:
|
||||
execFile(AsphyxiaPath);
|
||||
execFile(SDVX5Path);
|
||||
spawn(SDVX5Path);
|
||||
setTimeout(function(){
|
||||
exec("taskkill /im " + browser)
|
||||
},1200)
|
||||
|
|
|
|||
Loading…
Reference in a new issue