Fix panic when a command fails + more #10

Merged
sungsphinx merged 2 commits from fix-panic-cmd-error into main 2024-10-07 18:26:48 +00:00
sungsphinx commented 2024-10-06 18:40:08 +00:00 (Migrated from github.com)

Apologies for most of this being in one whole commit, I had already done quite a lot of code changes and it would be a pain to split it.

Main changes:

  • Make wgpu an optional feature (useful for operating systems like Redox OS)
  • Fix panicking when either lspci, lspcu or lsusb fail
  • If a command fails, it will try to show the error message on the respective page
  • Add usbutils to Flatpak, which should make the lsusb command available
  • Add cosmic-icons to Flatpak

Minor-ish changes:

  • Make the log/output in the terminal prettier
  • Change some code to pass clippy
  • Change "Uh oh, something went wrong" to "An error occurred"
  • Make the app icon bigger

Fixes #9

Apologies for most of this being in one whole commit, I had already done quite a lot of code changes and it would be a pain to split it. Main changes: - Make wgpu an optional feature (useful for operating systems like Redox OS) - Fix panicking when either lspci, lspcu or lsusb fail - If a command fails, it will try to show the error message on the respective page - Add usbutils to Flatpak, which should make the lsusb command available - Add cosmic-icons to Flatpak Minor-ish changes: - Make the log/output in the terminal prettier - Change some code to pass clippy - Change "Uh oh, something went wrong" to "An error occurred" - Make the app icon bigger Fixes #9
edfloreshz (Migrated from github.com) requested changes 2024-10-06 22:27:58 +00:00
edfloreshz (Migrated from github.com) left a comment

Just a minor change

Just a minor change
@ -59,6 +59,68 @@
}
edfloreshz (Migrated from github.com) commented 2024-10-06 22:23:03 +00:00

This entry has some formatting issues.

This entry has some formatting issues.
sungsphinx (Migrated from github.com) reviewed 2024-10-07 16:22:12 +00:00
@ -59,6 +59,68 @@
}
sungsphinx (Migrated from github.com) commented 2024-10-07 16:22:12 +00:00

Should be fixed, unless that's not what you meant 😅

Should be fixed, unless that's not what you meant :sweat_smile:
edfloreshz (Migrated from github.com) approved these changes 2024-10-07 16:50:28 +00:00
edfloreshz (Migrated from github.com) left a comment

LGTM!

LGTM!
sungsphinx commented 2024-10-07 18:02:27 +00:00 (Migrated from github.com)

Should I switch to the cosmic baseapp before merging @edfloreshz?

Should I switch to the cosmic baseapp before merging @edfloreshz?
edfloreshz commented 2024-10-07 18:14:16 +00:00 (Migrated from github.com)

I still haven't gotten it to build, so I wouldn't recommend it just yet.

I still haven't gotten it to build, so I wouldn't recommend it just yet.
Sign in to join this conversation.
No description provided.