Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 1.75 KB

DEVELOP.md

File metadata and controls

69 lines (57 loc) · 1.75 KB

Initialize

git clone [email protected]:jasperapp/jasper.git
npm i

Run as Development

npm run tsc:watch
npm run mac:run

Build Production

vi package.json # version
npm run mac:build
open out/mac/Jasper.app

Release

  • 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

Icon Cache

# 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

Update Electron

  • 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

Mac App Store Information