mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-12 19:09:47 +03:00
feat: clarified runtime dependencies
Removed xdelta3, updated dwebp package name for fedora
This commit is contained in:
parent
0c50bd7051
commit
b7bfda5a85
2 changed files with 5 additions and 9 deletions
src/ui/first_run
|
@ -68,7 +68,7 @@ impl SimpleAsyncComponent for DependenciesApp {
|
|||
},
|
||||
|
||||
gtk::Entry {
|
||||
set_text: "sudo pacman -Syu git xdelta3 p7zip libwebp",
|
||||
set_text: "sudo pacman -Syu git p7zip libwebp",
|
||||
set_editable: false
|
||||
}
|
||||
},
|
||||
|
@ -85,7 +85,7 @@ impl SimpleAsyncComponent for DependenciesApp {
|
|||
},
|
||||
|
||||
gtk::Entry {
|
||||
set_text: "sudo apt install git xdelta3 p7zip-full webp",
|
||||
set_text: "sudo apt install git p7zip-full webp",
|
||||
set_editable: false
|
||||
}
|
||||
},
|
||||
|
@ -102,7 +102,7 @@ impl SimpleAsyncComponent for DependenciesApp {
|
|||
},
|
||||
|
||||
gtk::Entry {
|
||||
set_text: "sudo dnf install git xdelta p7zip libwebp",
|
||||
set_text: "sudo dnf install git p7zip libwebp-tools",
|
||||
set_editable: false
|
||||
}
|
||||
},
|
||||
|
@ -119,10 +119,6 @@ impl SimpleAsyncComponent for DependenciesApp {
|
|||
set_title: "git"
|
||||
},
|
||||
|
||||
adw::ActionRow {
|
||||
set_title: "xdelta3"
|
||||
},
|
||||
|
||||
adw::ActionRow {
|
||||
set_title: "p7zip"
|
||||
},
|
||||
|
@ -195,7 +191,7 @@ impl SimpleAsyncComponent for DependenciesApp {
|
|||
match msg {
|
||||
#[allow(unused_must_use)]
|
||||
DependenciesAppMsg::Continue => {
|
||||
let packages = ["git", "xdelta3", "dwebp"];
|
||||
let packages = ["git", "dwebp"];
|
||||
|
||||
for package in packages {
|
||||
if !is_available(package) {
|
||||
|
|
|
@ -81,7 +81,7 @@ impl SimpleAsyncComponent for WelcomeApp {
|
|||
WelcomeAppMsg::Continue => {
|
||||
let installed =
|
||||
is_available("git") &&
|
||||
is_available("xdelta3") &&
|
||||
is_available("dwebp") &&
|
||||
(is_available("7z") || is_available("7za"));
|
||||
|
||||
if installed {
|
||||
|
|
Loading…
Add table
Reference in a new issue