Commit graph

111 commits

Author SHA1 Message Date
HikariKnight
380c875213 fix: CopyToSystem now correctly uses ExecAndLogSudo 2024-07-27 17:49:46 +02:00
kayos
6c48a35180
Feat: conditional permissions behavior (#28)
* Fix: don't need sudo if we're root + other aesthetics

* Heavy refactoring, see PR #28

* Fix: avoid silent fatalities

demo: https://tcp.ac/i/JMSUc.gif

* Fix: Inverse check on `IsRoot`

* D.R.Y: check for permissions error in `common.ErrorCheck`

Reduce cognitive complexity.

* Fix: Issue with copying

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646535918

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646606680 and https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646594105

* Revert "Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646606680 and https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646594105"

This reverts commit ce15213009.

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646730751
2024-07-27 17:38:39 +02:00
HikariKnight
4d0086df41 feat: Generate dummy rom for amd RX7000 series cards
By recommendation from gnif on discord.

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>
2024-06-15 02:53:38 +02:00
HikariKnight
0273aabecc chore: change quickemu folder to qemu folder 2024-06-15 01:51:57 +02:00
HikariKnight
a9b889e5ac fix: update download url for ls-iommu checksums.txt
after implementing github actions the checksums file was made versioned
2024-04-02 11:30:41 +02:00
HikariKnight
cf47ece4a8 chore: disable unused gui flag, we are always in tui mode 2024-03-30 15:07:01 +01:00
Matt Spurrier
1f059e0a96
quick update with global version access (#24)
* update for globally accesible version number

* update

* update

* add flag

* add flag

---------

Co-authored-by: Matt Spurrier <matthew@senseict.com.au>
Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com>
2024-03-30 15:00:40 +01:00
HikariKnight
55bfb36522 feat: Add version output 2024-03-30 14:45:54 +01:00
HikariKnight
f856dde035 fix: Improve grub2 configuration logic 2024-03-20 18:58:10 +01:00
HikariKnight
f5c71ee915 chore: logging output cleanup 2024-03-20 17:51:30 +01:00
HikariKnight
74fa194a30 fix: correctly write to log when a kernel older than 6.2 is detected 2024-03-17 00:36:59 +01:00
HikariKnight
46376435ef fix: correctly handle empty MODULES=() in mkinitcpio 2024-03-14 15:30:26 +01:00
HikariKnight
bd8f67decc remove old unused code 2024-01-01 12:55:26 +01:00
HikariKnight
f7c98e67ca Do not create an empty config/etc/default/grub file if bootloader is grubby 2024-01-01 12:19:44 +01:00
HikariKnight
c568accadf Change wording for manually applying grub2 changes 2024-01-01 10:36:15 +01:00
HikariKnight
475543840e Fix duplication of rd.driver.pre=vfio_pci when using dracut 2024-01-01 09:44:17 +01:00
HikariKnight
d791d28e4b remove empty line from debug.log output when using dracut 2024-01-01 09:29:54 +01:00
HikariKnight
60fa705b2d Fix output from grub-mkconfig 2024-01-01 09:19:21 +01:00
HikariKnight
af09f95187 Print newline after finalizing 2024-01-01 08:54:36 +01:00
HikariKnight
577e5f75a3 add mention on how to close program 2023-12-26 19:20:30 +01:00
HikariKnight
4a95fef56b enable new TUI 2023-12-26 19:20:30 +01:00
HikariKnight
95c77bbf33 Port final page to new tui 2023-12-26 19:20:30 +01:00
HikariKnight
a934f0c6fb correct wording 2023-12-26 19:20:30 +01:00
HikariKnight
b3b1200d07 remove unused logger line 2023-12-26 19:20:30 +01:00
HikariKnight
b3c17b6f90 Tidy up debug.log formating 2023-12-26 19:20:30 +01:00
HikariKnight
c5ba1a80ab skip usb config and go to final page, add prep stage 2023-12-26 19:20:30 +01:00
HikariKnight
5d98813402 Refine the title to use hiblue background and white text 2023-12-26 19:20:30 +01:00
HikariKnight
26dddc43f0 Make title cyan and bold on each page 2023-12-26 19:20:30 +01:00
HikariKnight
82fec3ab58 refactor and start adding actual functionality 2023-12-26 19:20:30 +01:00
HikariKnight
9efa0ee226 fix logger formating 2023-12-26 19:20:29 +01:00
HikariKnight
e3e660a69a add disable vfio video 2023-12-26 19:20:29 +01:00
HikariKnight
578c958c86 initialize configs 2023-12-26 19:20:29 +01:00
HikariKnight
b033a787b8 add vbios extration page 2023-12-26 19:20:29 +01:00
HikariKnight
9dc81bd568 Tidy up the output 2023-12-26 19:20:29 +01:00
HikariKnight
ff7a4e846f Add case for pressing ESC 2023-12-26 19:20:29 +01:00
HikariKnight
47340a3c2e Tidy up the logger output 2023-12-26 19:20:29 +01:00
HikariKnight
f219f686f6 Add selectUSB and fix error when pressing ESC 2023-12-26 19:20:29 +01:00
HikariKnight
4548c16fe0 Add more things to shortenVendor 2023-12-26 19:20:29 +01:00
HikariKnight
2e1e6cda11 Re-enable old tui, until new tui is done 2023-12-26 19:20:29 +01:00
HikariKnight
c1ea5e5163 Start process to away from bubbletea to a more simpler solution for this projects needs 2023-12-26 19:20:29 +01:00
HikariKnight
cfa984eabf Update download url to reflect new release name schema 2023-12-26 19:20:29 +01:00
HikariKnight
862d6c7593 Tell user the iommu arguments for their system if IOMMU is disabled 2023-12-26 19:20:29 +01:00
HikariKnight
e83ca7b61c Mention the gpus have to be different 2023-12-26 19:20:29 +01:00
HikariKnight
5a1e4c78ed Correct some writing and add check for unknown/unsupported bootloader 2023-12-26 19:20:29 +01:00
HikariKnight
4c99baeed8 Finish writing the apply changes functions 2023-12-26 19:20:29 +01:00
HikariKnight
e7c61c564e Start working on applying the config to the system 2023-12-26 19:20:29 +01:00
HikariKnight
7b305a87d2 implement Set_Grub 2023-12-26 19:20:29 +01:00
HikariKnight
e412a2ffbf Move to the next view when we are done elevating 2023-12-26 19:20:29 +01:00
HikariKnight
57895a1901 Remove UNKNOWN_BOOTLOADER dialog 2023-12-26 19:20:29 +01:00
HikariKnight
7b8923f68e Add missing error checks 2023-12-26 19:20:29 +01:00