diff --git a/Minat.app.zip b/Minat.app.zip index 3c6a097..ae55352 100644 Binary files a/Minat.app.zip and b/Minat.app.zip differ diff --git a/Minat.php b/Minat.php index c07eb91..e5a58fb 100755 --- a/Minat.php +++ b/Minat.php @@ -63,7 +63,7 @@ switch (@$argv[0]) { addline("Launch without argv"); die; case "Preferences...": - exec(escapeshellarg($p['phpbin'])." ".__DIR__."/MinatPrefs.php"); + exec(escapeshellarg($p['phpbin'])." ".escapeshellarg(__DIR__."/MinatPrefs.php")); addline("Launch preferences"); die; case "Show Debug Console": @@ -293,7 +293,7 @@ if ($p['ding']) { $pass[] = 1; } -$cmd = "open -n ".__DIR__."/Parallel.app --args ".implode(" ",$pass); +$cmd = "open -n ".escapeshellarg(__DIR__."/Parallel.app")." --args ".implode(" ",$pass); addline($cmd); exec($cmd);