ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
208 stars 26 forks source link

Cannot unpack .zip release files of Deltinteger on Linux #400

Open Zensonaton opened 2 years ago

Zensonaton commented 2 years ago

Windows uses \ as path delimeters: C:\Program Files\HelloWorld\..., while Linux uses /: /home/zensonaton/documents/...

Due to this, .zip release files cannot be properly opened in Linux: Linux threats A\B path not as directory A and file B inside it, Linux threats it as file named A\B. image

Trying to run Deltinteger does not work either: image

LexiHDev commented 2 years ago

After extracting, running find . -name '*\\*' -type f -exec bash -c 't="${0//\\//}"; mkdir -p "${t%/*}"; mv -v "$0" "$t"' {} \; should allow for it to run.