Commit graph

8 commits

Author SHA1 Message Date
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
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
cfa984eabf Update download url to reflect new release name schema 2023-12-26 19:20:29 +01:00
HikariKnight
855f197650 move over to fileio for checking if file exists 2023-12-26 19:20:29 +01:00
HikariKnight
123d1ca18a Refactor and split tui into smaller files 2023-12-26 19:20:28 +01:00
HikariKnight
b339dab29f fix the downloader not overwriting the old archive 2023-12-26 19:20:28 +01:00
HikariKnight
3b0731be1c Only download ls-iommu if we do not have it or its outdated 2023-12-26 19:20:28 +01:00
HikariKnight
62635076c3 start work on go rewrite for stable release 2023-12-26 19:20:28 +01:00