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

feat(ujust): Add setup-boot-windows-steam ujust script #1848

Open
wants to merge 1 commit into
base: testing
Choose a base branch
from

Conversation

wolfyreload
Copy link
Contributor

I'm seeing a number of people using my https://youtu.be/WR31wkrxock video for making a script to boot into Windows from Steam in GameMode. However, quite a few people miss a step or type a character incorrectly. Thought that it might be possible to automate this with a ujust script.

Also want to give thanks to u/0nlin3 on Reddit for the idea.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Nov 3, 2024
@Zeglius
Copy link
Contributor

Zeglius commented Nov 4, 2024

So, for what I'm seeing, the script creates another script on the fly as it gets executed.

Would prefer if we added an already written one, rather than creating it on the fly, otherwise is going to be more difficult to debug/maintain

@wolfyreload
Copy link
Contributor Author

@Zeglius Didn't think of that, that would be a great improvement. Will make a separate script and just call that.

setup-boot-windows-steam:
echo "Making efibootmgr -n accessible without sudo"
echo "%wheel ALL=(root) NOPASSWD: /usr/sbin/efibootmgr" | sudo tee /etc/sudoers.d/efibootmgr-config

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just syntax checking will be angry about the empty line IIRC

Copy link
Contributor Author

@wolfyreload wolfyreload Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not aware of that. I have removed the empty line from the script and thank you for the feedback

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Nov 5, 2024
* Adds a ujust script for making a steam shortcut that boots into Windows on dual-boot setups
* Removed spaces in ujust script
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants