git clone [email protected]:jasperapp/jasper.git
npm i
npm run tsc:watch
npm run mac:run
vi package.json # version
npm run mac:build
open out/mac/Jasper.app
- change
version
in package.json - push to GitHub
- add release tag
- build production binary on Mac/Windows/Linux
- update jasperapp.io
- change version and URL in
indexh.html
- change URL in
release.html
- add 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
electron
in package.json- change electron version in ./script/{mac,win,linux}/build-sqlite.sh
- change sqlite3 version in ./script/{mac,win,linux}/build.sh
- Sign up Mac Developer Program
- Get certification (
Mac App Distribution
,Mac Installer Distribution
) - Get app id
- Register app
- Upload app