mapsandapps / soundscapes

0 stars 0 forks source link

Electron version #24

Open mapsandapps opened 8 years ago

mapsandapps commented 8 years ago

Todo:

mapsandapps commented 8 years ago

http://www.raymondcamden.com/2015/07/23/some-initial-thoughts-on-building-desktop-apps-with-ionic-and-electron/

mapsandapps commented 8 years ago

Create sample app

git clone https://github.com/atom/electron-quick-start
cd electron-quick-start/
npm install
npm start

Copy your Ionic app's ionic/www folder contents and paste them in electron-quick-start

Copy the code from here and replace electron-quick-start/main.js with it


npm install -g electron-packager
electron-packager . Soundscapes --platform=darwin --arch=x64 --version=0.36.5

with version from here

--- OR

Rename the electron-quick-start directory app

Move all but /node_modules from electron/app to electron/app/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/app

mapsandapps commented 8 years ago

Electron-specific app issues: