Skip to content

Conversation

@savetheclocktower
Copy link
Contributor

@savetheclocktower savetheclocktower commented Dec 31, 2025

…at least on Linux and Windows.

The documentation already thinks this is possible! (Select the “Linux” tab if you're not on Linux.) The script doesn't support this, but it ought to — especially on Linux, since building an AppImage is time-intensive. Better to change the code here than to change the docs.

We can control targets on Windows as well, so we might as well let them in on the fun and allow (e.g.) yarn dist nsis to opt into just the NSIS build and skip the portable target. (The current docs say yarn dist portable should be possible, but electron-builder calls this target zip, so I decided to keep it simple. Happy to keep it as portable if people prefer.)

If a user specifies targets that don't match their current platform, they will be ignored. Default behavior has not changed; if no applicable targets are provided, then the whole list of them should be generated.

Feel free to test this for your specific platform; I did sanity checking on Linux, but I didn't try to run each individual option in isolation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants