gristlabs / grist-desktop

Desktop Grist, packaged with Electron
Apache License 2.0
154 stars 7 forks source link

Use the `zip` target instead of `portable` for Windows portable builds #45

Closed SleepyLeslie closed 3 weeks ago

SleepyLeslie commented 1 month ago

The Windows portable build needs to unpack itself every time it launches. This is painfully slow. electron-builder offers a zip build target. It might be a better idea than portable.

Note that electron-builder does not allow setting the artifact name explicitly for the zip target. Workaround is to set the artifact name for all Windows builds, and use the extension name to tell them apart.

Relevant complaint https://community.getgrist.com/t/grist-desktop-portable-on-windows/5656