-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Allow the user to create a shortcut on the desktop and/or application folder #2966
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
Allow the user to create a shortcut on the desktop and/or application folder #2966
Conversation
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
1727f56 to
59efca7
Compare
|
Also for systems like Flatpak where we can't get the desktop or applications path I think this option/action should be just one(ask the user where he wants the shortcut to be created). |
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
|
Alright, I've just pushed the suggested changes. It works on windows, but I haven't tested for linux and can't test for macOS. |
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
|
I don't think this currently works with macOS; AFAIK, in macOS,
Personally, I think this should be simple enough to implement correctly; maybe just making If you can't test for macOS, I can offer some assistance as I have a macOS system (aarch64) on hand. |
TheKodeToad
left a comment
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.
Looks pretty good and worked on my Windows install!
However the macos implementation should be updated to support the desktop too... also maybe make the windows implementation put it in a start menu folder named LAUNCHER_NAME Instances too :P. I don't think you can do the same on Linux and have it work for all desktop environments though
Also it crashed for me the first time on windows but I'm not sure if you introduced this bug since I could not reproduce it again
|
Alright thanks for the feedback! Unfortunately I'm busy right now but will try to implement the changes in the next two weeks |
|
I was just posting the other ideas for the sake of it, no need to implement them in this pr |
|
Didn't express myself correctly 😅 meant the suggestions / fixes for mac. |
|
I'm pretty sure macOS is very similar to Linux in these regards:
So, basically, the only difference between the three is the target directory, which actually follows the same convention as Linux afaik. |
|
That should work, yes |
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
145ac6c to
c4ba7fc
Compare
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
It seems that shortcuts.vdf should be modified while the Steam client is not opened? This way there should be no refresh issues... |
|
I guess so, but that would get annoying for the user. What I observed is that the shortcuts file gets refreshed when adding the shortcut |
|
Oops, I forgot. |
|
Random idea: since Quick Play was implemented for worlds since 9.0, maybe we should allow creating shortcuts to worlds too... |
|
Hey, any updates on this one? |
Mick235711
left a comment
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.
Personally I think the code is pretty ready.
Gentle ping @TheKodeToad for review
Trial97
left a comment
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 bring this PR up to date with the latest develop.
|
Working on a fix for those failed checks |
I don't think you can do anything here; the failures are in the lines that this PR does not touch. |
|
The failing checks are unrelated to your PR |
|
Okay, was confused already because it merged cleanly |
|
No I do not know but encountered the same error on a different PR: most probably the MinGW did update or something unrelated to your work |




This pull requests adds the option for the user to select in which folder they want to create their shortcut.

(See issue #639 )
I've tested on windows but couldn't test it for linux / flatpak / AppImage / macos. But it should also work there