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

One-Time Run: Use notifier for invalid executable, Proton, and run directory #834

Merged
merged 3 commits into from
Jun 11, 2023

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented Jun 11, 2023

More work for #788.

When something goes wrong during a One-Time Run, there is some logging but it is not immediately obvious what went wrong visually. Users are expected to check the log to trace through execution and figure out what the problem is, but this PR adds a little bit of visual niceness using the notifier (if enabled, of course) and also uses echo to detail when something went wrong.

This is purely a quality-of-life improvement, with minimal functional change for One-Time Run. The only functional change added was to check to ensure an executable exists before trying to launch it, by adding a && [ -f "$OTEXE" ].


TODO:

  • Update langfiles

@sonic2kk
Copy link
Owner Author

Langfiles updated, version bumped, shellcheck is good, no regressions that I can see.

@sonic2kk sonic2kk merged commit 925bc31 into master Jun 11, 2023
@sonic2kk sonic2kk mentioned this pull request Jun 11, 2023
6 tasks
@sonic2kk sonic2kk deleted the otr-improve-notifier branch June 11, 2023 19:41
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

Successfully merging this pull request may close these issues.

1 participant