Skip to content
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

can't display the file poster #36

Closed
zxcvpn011 opened this issue May 6, 2021 · 2 comments
Closed

can't display the file poster #36

zxcvpn011 opened this issue May 6, 2021 · 2 comments

Comments

@zxcvpn011
Copy link

zxcvpn011 commented May 6, 2021

  • i was trying this module it's easy and works fine but it's not display the file poster like if i want to create a shortcut of a png which appears like this
    123223
  • it's will be like this
    4641
  • when i create it normally by the mouse the poster appears normally so what should i do to make it display as it's should to be
@zxcvpn011 zxcvpn011 changed the title can't displat the file poster can't display the file poster May 6, 2021
@TheJaredWilcurt
Copy link
Member

Tested on windows 7 and it worked fine using this code:

const createDesktopShortcut = require('create-desktop-shortcuts');
const shortcutsCreated = createDesktopShortcut({
  windows: { filePath: 'C:\\Users\\Owner\\Pictures\\nwjs.png' }
});

Could not reproduce.

@zxcvpn011
Copy link
Author

  • that was happend because i wrote the file path like that E:/Capture.PNG but when i write it like you E:\\Capture.PNG it's working thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants