-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Installer fails and dist/
folder structured differently since 3.21.0
#402
Comments
Reproduced. |
Do you build it on Windows, right? |
Hmmm... reproduce if I build on windows, works if I build on OS X/Linux. |
Windows sucks, OS X / Linux zip creates correct ZIP, powershell creates incorrect. Since nuget/.net zip also suck and don't support all standard zips, it cannot handle such ZIP. |
Solution — use http://www.info-zip.org instead of windows shit. |
It's as if I predicted something exactly like this would happen ;) |
@paulcbetts No one can write perfect code the first time. Especially for Windows. Error was detected immediately when pre-release was marked as |
In version 3.20.0, after building for windows we were left with two folders:
win-x64/
contained the installer and nupkg fileProductName-win32-x64/
was the electron package ready to be tested or zipped, without installation.After 3.21.0, we have 2 different folders:
win/
seems to be the same aswin-x64
, with the installer and nupkg filewin-unpacked/
is ... not really sure what. There's a folderwin-unpacked/lib/net45
that looks like the oldProductName-win32-x64/
The restructuring is fine, but the resulting installer no longer works after 3.21.0. Here's what my SquirrelSetup log says:
If it helps, there's a space in my
productName
in the app'spackage.json
The text was updated successfully, but these errors were encountered: