Git Product home page Git Product logo

dalton's People

Contributors

brandlmax avatar ccoenen avatar pixelkind avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dalton's Issues

electron-settings module missing

After cloning:

C:\Users\user\dalton> npm install
[...]
C:\Users\user\dalton> npm start

> [email protected] start C:\Users\user\dalton
> electron .


App threw an error during load
Error: Cannot find module 'electron-settings'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (C:\Users\user\AppData\Roaming\npm\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\user\dalton\main.js:12:18)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)

I tried node main.js as well, but that is even missing electron itself. Any Ideas? Electron is present an on the path:

> where electron
C:\Users\user\AppData\Roaming\npm\electron
C:\Users\user\AppData\Roaming\npm\electron.cmd

>electron --version
v1.4.3

On windows, the filepath for loadImage() is broken

It looks like whatever you're using to resolve the current filepath isn't working on Windows and just results in undefined. In the debug console, the image object always points to <daltonpath>/resources/app/demos/simple/undefined/imagename.png. If I store images there it loads them correctly, but if I store them in the same location as the .js file it doesn't.

Check if file is saved before closing window

When closing the window of dalton or even quitting it, the user should be warned if the file hasn't been saved. Would be the best if the alert is not launching when the file has been saved.

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.