Skip to content

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

Merged
sonic2kk merged 3 commits intomasterfrom
otr-improve-notifier
Jun 11, 2023
Merged

One-Time Run: Use notifier for invalid executable, Proton, and run directory#834
sonic2kk merged 3 commits intomasterfrom
otr-improve-notifier

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