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-03-14 06:30:59 -05:00
src Updated README, fixed config bug, added build to notarize.js 2022-03-14 06:30:59 -05:00
.gitignore fixed nav button on mobile 2022-02-20 09:25:09 -06:00
.npmrc Sign and Notarize config, debug logs for IPC 2022-03-08 07:17:52 -06:00
electron.sublime-project smart login form, embedded fonts, other improvments 2022-02-19 17:55:51 -06:00
electron.sublime-workspace update register form 2022-02-20 10:08:12 -06:00
entitlements.plist Refine notatize.js and update README.md 2022-03-10 07:16:42 -06:00
notarize.js Updated README, fixed config bug, added build to notarize.js 2022-03-14 06:30:59 -05:00
package-lock.json Sign and Notarize config, debug logs for IPC 2022-03-08 07:17:52 -06:00
package.json Sign and Notarize config, debug logs for IPC 2022-03-08 07:17:52 -06:00
README.md Updated README, fixed config bug, added build to notarize.js 2022-03-14 06:30:59 -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

Clear debris from app before signing:

xattr -cr Electron.app

Sign and Notarize:

node notarize.js

Debug electron-osx-sign:

export DEBUG=electron-osx-sign*

Some things to note:

If new package.json, build manually. Only copies src code into /Resources/app.

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's proven 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.