soroushchehresa / unsplash-wallpapers

🖼️ A cross-platform desktop application to set wallpapers from Unsplash built with Electron, React, and Redux
MIT License
365 stars 50 forks source link

Doesn't start with Windows #19

Open gbakeman opened 2 years ago

gbakeman commented 2 years ago

On Windows 10 21H2, it looks like this app doesn't start after booting the computer and logging in. I have to manually launch it.

The option to start with Windows is checked inside the app, and Task Manager shows that this app is enabled for startup.

Version 1.3.0

dougwaldron commented 2 years ago

I'm having the same issue on Windows 10 21H1. Let me know if there's anything I can do to help troubleshoot.

dougwaldron commented 2 years ago

FYI, it also doesn't automatically update the wallpaper even though I have it set to do so hourly. I don't know if this is related or should be a new issue.

gbakeman commented 2 years ago

I was having the same issue (wallpapers not changing), I think you should go ahead and make that issue.

seognil commented 2 years ago

https://github.com/soroushchehresa/unsplash-wallpapers/blob/7c4b8d73b2c28f52170cb7ac1a56326ee814fbd4/app/containers/Settings/index.jsx#L49

It's a bug: in Windows the path should be like "C:\Users[user_name]\AppData\Local\Programs\unsplash-wallpapers\Unsplash Wallpapers.exe" instead of "/Applications/Unsplash Wallpapers.app"

(open RegEdit and search 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run')

dougwaldron commented 2 years ago

Good catch! The same string also appears here: https://github.com/soroushchehresa/unsplash-wallpapers/blob/61f0c3ae7d287643f4da5d335e6973b4e19fd7de/app/main.dev.js#L135

MrDavisCSIT commented 1 week ago

Just updated the code to allow for generic path to be used for autostart