New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Notification.md #6924
base: nw13
Are you sure you want to change the base?
Create Notification.md #6924
Conversation
This is a 1:1 copy from the wiki: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change node-webkit to NW.js
Forgot to mention that... sry @rogerwang changed, but a few things i didn't because I don't know exactly if they're different nowadays ex: "\Microsoft\Windows\Start Menu\Programs\node-webkit.lnk" and "app-id": "com.node.webkit.notification.test" (At least I think I've changed, a few stuff on github are still a mistery to me) |
|
||
```javascript | ||
var gui = require('nw.gui'); | ||
gui.App.createShortcut(process.env.APPDATA + "\\Microsoft\\Windows\\Start Menu\\Programs\\node-webkit.lnk"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
createShortcut
is was removed from the NW.js API in 0.13.0. So it is only needed in NW.js >=0.11.0
& <=0.12.3
on Windows 8+.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.