https://github.com/jasperapp/jasper/blob/master/ARCHITECTURE.md
supports nodejs v16~
git clone git@github.com:jasperapp/jasper.git
npm i
npm run env:setup
npm run tsc:watch
npm run mac:run
WindowsでSQLite3をelectron-rebuildでビルドするためにはnpm i windows-build-tools
でビルドツールをインストールする必要がある
What are the requirements?
Node v10.12.0 or higher is required. Building the native modules from source uses node-gyp, refer to the link for its installation/runtime requirements.
Option 1
Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
npm install --global windows-build-tools
Linux(Ubuntu20.04)でビルドするためには以下のパッケージが必要
apt-get install python make gcc g++
vi package.json # version
npm run mac:build
open out/mac/Jasper.app
- change
version
in package.json - build production binary on Mac/Windows/Linux
- upload to DropBox
- upload to GitHub Releases
- update jasperapp.io
- change version and URL in
indexh.html
- change URL in
release.html
- add the version to
{versions-{mac,windows,linux}.json
- change version and URL in
# application icon
sudo find /private/var/folders/ -name '*icon*' # and remove those
sudo rm -rf /Library/Caches/com.apple.iconservices.store
killall Dock
touch Jasper.app
touch Jasper.app/Contents/Info.plist
# notification icon
cd `getconf DARWIN_USER_DIR`/com.apple.notificationcenter/db
sqlite3 ./db
- https://gist.github.com/fabiofl/5873100
- http://stackoverflow.com/questions/11856766/osx-notification-center-icon
- Sign up Mac Developer Program
- Get certification (
Mac App Distribution
,Mac Installer Distribution
) - Get app id
- Register app
- Upload app