Commit e25dfe65 authored by Michael Long's avatar Michael Long

Revert "use unzip on windows"

This reverts commit 11a8733a.
parent 357e5171
......@@ -705,7 +705,11 @@ if(network.echolist
file.close();
// try to extract on linux,
if (system.exec("%@unzip -CLo " + file_getname(network.pack) + " " + echolist_fname) !== 0) {
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') {
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