Electron desktop messenger client for Crimata
  • TypeScript 64.4%
  • Vue 25.6%
  • JavaScript 7.6%
  • Python 1.6%
  • HTML 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-05-16 06:35:09 -05:00
src init changes for audo update 2022-05-16 06:35:09 -05:00
.gitignore Updated .gitignore, reverted annotate content 2022-03-21 07:27:50 -05:00
.npmrc annotate content patch 2022-03-17 06:54:08 -05:00
entitlements.plist Refine notatize.js and update README.md 2022-03-10 07:16:42 -06:00
icon.png annotate content patch 2022-03-17 06:54:08 -05:00
notarize.js Fixing Git issue, updated notarize flow 2022-05-13 06:46:57 -05:00
package-lock.json annotate content patch 2022-03-17 06:54:08 -05:00
package.json annotate content patch 2022-03-17 06:54:08 -05:00
README.md bug fixees, updated README 2022-03-31 07:36:01 -05:00

crimata-electron

Project setup

yarn install

Compiles and hot-reloads for development

yarn electron:serve

Compiles and minifies for production

yarn electron:build

Customize configuration

See Configuration Reference.

Sign and Notarize

Prerequisites:

  • Apple Developer Account ($99)
  • Valid Apple Developer ID Application Certificate on keychain

Sign and Notarize:

node notarize.js

Debug electron-osx-sign:

export DEBUG=electron-osx-sign*

Some things to note:

Notarize only when distributing outside the Mac App Store.

Gatekeeper Assess

Electron-osx-sign seems to have a bug where the sign will fail if "gatekeeper-assess" is true (default).

Entitlements.plist

Not to be confused with Info.plist, this file specifies entitlements the app can have in hardened runtime (e.g. Can I use the microphone?). Only including the ones Electron reccommends seems to work (including audio of course and omitting allow-unsigned-executable-memory).

The Benifit of Electron OSX Sign

Without this package, we would have to manually go in and figure out how to sign each level of the app. While it didn't work out of the box (gatekeeper-assess) it seems to be good otherwise. However, there is a bug where it puts multiple runtime flags on each command - not catastrophic though.

Apple Password

This must be an app specific password, not your normal Apple ID password.

--Signiture-Flags OSX Sign

Not exactly sure what this does or why its important, but Electron includes it.