-
-
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
--dist
by default and remove this flag in favour of --target=dir
#413
Comments
I like the idea of changing
Architecture specification is optional. If not defined, it can build both by default. So you can kick out Currently, you'll get
...which would create binaries for Win, OSX and App store. Even better:
then you can do extra cool: |
@Vj3k0 Thanks, so, I will do it.
No, numerous targets — #414 (comment) |
…=dir electron-userland#413 BREAKING CHANGE: `appDir` CLI is removed — use [directories.app](https://github.com/electron-userland/electron-builder/wiki/Options#MetadataDirectories-app) in the development package.json. `sign` CLI is removed — use [build.osx.identity](https://github.com/electron-userland/electron-builder/wiki/Options#OsXBuildOptions-identity) in the development package.json.
…=dir electron-userland#413 BREAKING CHANGE: `appDir` CLI is removed — use [directories.app](https://github.com/electron-userland/electron-builder/wiki/Options#MetadataDirectories-app) in the development package.json. `sign` CLI is removed — use [build.osx.identity](https://github.com/electron-userland/electron-builder/wiki/Options#OsXBuildOptions-identity) in the development package.json.
A lot of users complain about it. Since
mas
was implemented, we have newtarget
option in the configuration. And it will be soon supported for other OS — zip, 7z targets.Proposal:
--osx
,--linux
and--win
flags. Value: list of supported os-specific targets.--target
flag. Value: list of common targets (zip
) or unique target (mas
,dmg
).--dist
flag. Replacement:--target=dir
if you want to get unpacked app. i.e. by default we will build in distributable format.--platform
flag (we cannot remove to be compatible with electron-packager, so, we just hide it). Replacement:--win
or--osx
. To build all platforms:--target=default
(i.e. if target is common or has special meaning (default
means use default target)).Result:
--dist
/--platform
flags in favour of unified--target
.mas
) using CLI (if you want to experiment and don't want to changepackage.json
yet).cc @d9k @nickhudkins
The text was updated successfully, but these errors were encountered: