Giter Site home page Giter Site logo

sound-machine-electron-guide's People

Contributors

somekay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sound-machine-electron-guide's Issues

Needs Node 4.0.0 while 10.15.3 is installed?

I simple wanted to check the behavior of the app.quit() in this app. We are making an app with a tray icon as well. But they trying to implement osx behavior by not quiting app when all windows are closed. However the normal command cmd + q now needs to be pressed twice??

But trying package this app i get this error in return. Im not really into electron lets make that clear.

CANNOT RUN WITH NODE 10.15.3
Electron Packager requires Node 4.0 or above.
error Command failed with exit code 1.

Run yarn start does work

How to load mainWindow.loadUrl from settings?

Great app. I have built a electron app on the top of this demo. I want to load the URL from settings.html. Currently I have to add the Url manually but it should be user defined. How can I do this? I am having hard time figuring this out. Is it possible to have a mainWindow.loadUrl = somevariable and load it via input value of the field.

Build script fails...

Amazing tutorial, thanks so much.

When I try to build the application though, I keep getting this error...

Here's the output:

>npm run-script package

> [email protected] package /Users/michele.pasin/Dropbox/code/electron/sound-machine-electron-guide
> electron-packager ./ SoundMachine --all --out ~/Desktop/SoundMachine --version 0.30.2 --overwrite --icon=./app/img/app-icon.icns

The strict-ssl parameter is deprecated, use download.strictSSL instead
The strict-ssl parameter is deprecated, use download.strictSSL instead
The strict-ssl parameter is deprecated, use download.strictSSL instead
The strict-ssl parameter is deprecated, use download.strictSSL instead
The strict-ssl parameter is deprecated, use download.strictSSL instead
The strict-ssl parameter is deprecated, use download.strictSSL instead
Packaging app for platform linux ia32 using electron v0.30.2
Packaging app for platform win32 ia32 using electron v0.30.2
spawn wine ENOENT

npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run-script" "package"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] package: `electron-packager ./ SoundMachine --all --out ~/Desktop/SoundMachine --version 0.30.2 --overwrite --icon=./app/img/app-icon.icns`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] package script 'electron-packager ./ SoundMachine --all --out ~/Desktop/SoundMachine --version 0.30.2 --overwrite --icon=./app/img/app-icon.icns'.
npm ERR! This is most likely a problem with the sound_machine package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron-packager ./ SoundMachine --all --out ~/Desktop/SoundMachine --version 0.30.2 --overwrite --icon=./app/img/app-icon.icns
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs sound_machine
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls sound_machine
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/michele.pasin/Dropbox/code/electron/sound-machine-electron-guide/npm-debug.log

electron-prebuilt is deprecated

Following this blog: https://medium.com/developers-writing/building-a-desktop-application-with-electron-204203eeb658

$ npm install --save-dev electron-prebuilt
npm WARN deprecated [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron

@bojzi I will work around errors as long as I can and report issues here. If you are not interested in further issues regarding the blog or you are not going to fix them anyway, just let me know to save me that work. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.