Developing Addons in Windows - A PHP/ZIP problem with backslashes

Marcel

Active member
Reinstalling my development environment on Windows (First time since I switched from Mac). I'm using laragon for Apache/PHP/MySQL etc. With cmder as my command line tool.

However, running the following command

php cmd.php xf-addon:build-release MB/ModTools

Happily creates the zip file to upload, but when unzipping on the server (We're note on 2.1 yet), all files are in one folder, with the actual structure built into the names, but with backslashes.
1590865876564.webp

Now form what I can figure out, it's the disparity between the Windows environment creating backslashes and the server environment expecting forward slashes.
I'd rather fix the Windows environment. Does anyone have any idea how?

Thanks :
 
Top Bottom