Skip to content
Snippets Groups Projects
Commit 11a8733a authored by Michael Long's avatar Michael Long
Browse files

use unzip on windows

parent 00e33392
Branches
Tags
2 merge requests!463MRC mods by Codefenix (2024-10-20),!19add tqwnet to init tickit
Pipeline #450 canceled
...@@ -705,11 +705,7 @@ if(network.echolist ...@@ -705,11 +705,7 @@ if(network.echolist
file.close(); file.close();
// try to extract on linux, // try to extract on linux,
if (system.platform == 'Linux') { if (system.exec("%@unzip -CLo " + file_getname(network.pack) + " " + echolist_fname) !== 0) {
if (system.exec("unzip -CLo " + file_getname(network.pack) + " " + echolist_fname) !== 0) {
print("Please extract " + network.echolist + " from " + file.name + " into " + system.ctrl_dir);
}
} else if (system.platform == 'Win32') {
print("Please extract " + network.echolist + " from " + file.name + " into " + system.ctrl_dir); print("Please extract " + network.echolist + " from " + file.name + " into " + system.ctrl_dir);
} }
......
  • Kayz @phar

    mentioned in commit e25dfe65

    ·

    mentioned in commit e25dfe65

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment