Commit 11a8733a authored by Michael Long's avatar Michael Long

use unzip on windows

parent 00e33392
Pipeline #450 canceled with stage
......@@ -705,11 +705,7 @@ if(network.echolist
file.close();
// try to extract on linux,
if (system.platform == 'Linux') {
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') {
if (system.exec("%@unzip -CLo " + file_getname(network.pack) + " " + echolist_fname) !== 0) {
print("Please extract " + network.echolist + " from " + file.name + " into " + system.ctrl_dir);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment