This commit is contained in:
2019-09-30 09:22:07 -07:00
parent 5c4dc289b9
commit 6aceab7282
12 changed files with 828 additions and 55 deletions

View File

@@ -67,13 +67,13 @@ switch (@$argv[0]) {
addline("Launch preferences");
die;
case "Show Debug Console":
exec("open -n Console.app --args ".$p['logfile']);
exec("open -n ".__DIR__."/bin/Console.app --args ".$p['logfile']);
die;
case "Check for Updates...":
$curr_version = file_get_contents("https://www.profiteroles.org/git/profiteroles/Minat/raw/master/current_version.txt");
$curr_version = file_get_contents("https://www.profiteroles.org/git/p/Minat/raw/master/current_version.txt");
if ($curr_version > $version) {
if(askMulti("Minat ".$curr_version." is available (you have ".$version.")", array("Cancel","Download")) == 1) {
exec("open https://www.profiteroles.org/git/profiteroles/Minat");
exec("open https://www.profiteroles.org/git/p/Minat");
echo "QUITAPP\n";
} else {
die;
@@ -293,7 +293,7 @@ if ($p['ding']) {
$pass[] = 1;
}
$cmd = "open -n ".escapeshellarg(__DIR__."/Parallel.app")." --args ".implode(" ",$pass);
$cmd = "open -n ".escapeshellarg(__DIR__."/bin/Parallel.app")." --args ".implode(" ",$pass);
addline($cmd);
exec($cmd);