DEV Community

Discussion on: Minimal Time Management App

Collapse
mehdico profile image
Mehdi Mousavi • Edited

Even on windows you need a package.json to run it. Also i didn't see any platform-specific code in your project, so i tried to run on MacOS. here is the result :
Just one issue: When app is running the SPACE key (who you set as shortcut or something) on my keyboard is not working at all, in any program! (even yours)
package.json file i wrote:

{
  "name": "YOUR_APP_NAME",
  "version": "1.0.0",
  "main": "app.js",
  "scripts": {
    "start": "electron ."
  },
  "dependencies": {
    "electron": "^13.2.1"
  }
}
Enter fullscreen mode Exit fullscreen mode
Thread Thread
ananddhruv295 profile image
Dhruv Anand Author

I have resolved the issue in the latest update (not yet released).
The reason was I set the Space key as a Global shortcut using Electron an this was causing the issue.
Talking about 'Platform-specific', No, there is no restriction regarding distributing the application to other platforms so there should be no problem running that.
Also, I have to added the package.json.

Thread Thread
mehdico profile image
Mehdi Mousavi

👍🏼❤️

Thread Thread
ananddhruv295 profile image
Dhruv Anand Author

I have made the required changes. If you wish to contribute, you can fork the project. :)

github.com/iDCoded/Pomodoro-App