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

prefsCleaner.bat: add -unattended flag #1616

Merged
merged 3 commits into from
Feb 5, 2023

Conversation

kewiha
Copy link
Contributor

@kewiha kewiha commented Jan 17, 2023

Usage:
prefsCleaner.bat -unattended

Skips the prompt for user input and proceeds when -unattended is specified. If omitted, default behaviour is unchanged.

Code taken from updater.bat for consistency.

Please review this PR closely as I'm not fluent in batch scripting. The revised script appears to function properly with and without -unattended, but I'm not aware of common pitfalls.

Signed-off-by: Keith Harrison keithh@protonmail.com

Usage:
  prefsCleaner.bat -unattended

Skips the prompt for user input and proceeds when -unattended is specified. If omitted, default behaviour is unchanged.

Code taken from updater.bat for consistency.

Please review this PR closely as I'm not fluent in batch scripting. The revised script appears to function properly with and without -unattended, but I'm not aware of common pitfalls.

Signed-off-by: Keith Harrison <keithh@protonmail.com>
@Thorin-Oakenpants
Copy link
Contributor

thanks, I'll leave this for earthlng to review for when he has time

@earthlng
Copy link
Contributor

earthlng commented Feb 5, 2023

Thanks @kewiha 👍

@earthlng earthlng merged commit 8259191 into arkenfox:master Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants