1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-29 02:02:37 +01:00
Whalebird-desktop-client-ma.../DEVELOPMENT.md
2018-08-25 01:17:55 +09:00

1.2 KiB

Release

Binary

When you build release packages, please use electron-builder.

# for linux
$ npm run build:linux

# for mac
# This command automatically loads the Developer ID Application certificate from your keychain.
$ npm run build:mac

AppStore

Please prepare certificates on your Apple developer console. The following keys are required:

  • Mac App Distribution: 3rd Party Mac Developer Application: NAME (TEAM_ID)
  • Mac Installer Distribution: 3rd Party Mac Developer Installer: NAME (TEAM_ID)

and register your KeyChain.

Then, create a Mac App ID like org.whalebird.desktop.

$ npm run build:mas

# This command automatically loads the certificates from you keychain.
$ ./appStore.sh

After that, the .pkg file is created under ./packages.

Please upload the .pkg to App Store using Application Loader in Xcode.

Snapcraft

First, please prepare snapcraft command.

$ brew install snapcraft

And prepare docker environment which is used in snapcraft building.

Build app for linux.

$ npm run build:linux

And upload.

$ snapcraft push build/whalebird_1.0.0_amd64.snap --release stable