How can I create a shortcut to run the app without command line each time? I tried to run the nw.exe file but that doesn't load the actual program just the NW splash screen.
You can create a windows desktop shortcut that points to the nw.exe file followed by a space, and then in quotes the path to the folder that contains your package.json file.
C:\nw\0.60.0\nw.exe "C:\projects\cool-project"
You can also right-click the shortcut after creation, go to properties and change the icon to your own .ico file, and rename the shortcut to whatever you want. You can even point to the nw.exe in the node_modules of your project if you want.
How can I create a shortcut to run the app without command line each time? I tried to run the nw.exe file but that doesn't load the actual program just the NW splash screen.
You can create a windows desktop shortcut that points to the
nw.exefile followed by a space, and then in quotes the path to the folder that contains yourpackage.jsonfile.C:\nw\0.60.0\nw.exe "C:\projects\cool-project"You can also right-click the shortcut after creation, go to properties and change the icon to your own
.icofile, and rename the shortcut to whatever you want. You can even point to thenw.exein the node_modules of your project if you want.C:\projects\cool-project\node_modules\nw\nwjs\nw.exe "C:\projects\cool-project"