A widgets app that runs when computer start and show widgets on desktop
first cammand for install dependencies.
npm install
second cammand for make build.
npm run package
after building the app add "widgets" folder in app directory. and add "widgets.json" file in widgets directory.
example:
widgets/widgets.json
justWidgets.startup.exe
Make widgets in html css and javascript in a folder and add a file "fileName.json"
fileName.json
NOTE: add "folderName/index.html" in file tag.
{
"x": 0,
"y": 0,
"width": 200,
"height": 200,
"movable": true,
"resizable": false,
"transparent": true,
"file": "folder name/index.html"
}
add folder to widgets directory in app
locals/
widgets/
justWidgets.startup.exe
other...
in widgets directory there is a file called "widgets.json". open and write your fileName.json path.
NOTE: add "folderName/fileName.json".
[
"folderName/fileName.json"
]
open the app or refresh on tray icon
made by justpkdev