Fedora-WS_Update_AddEmulators
This commit is contained in:
parent
23cbc642e0
commit
3bce04704d
1 changed files with 22 additions and 0 deletions
|
@ -35,6 +35,16 @@ sudo flatpak update -y
|
|||
fi
|
||||
}
|
||||
|
||||
update-flatpak-emulators-packages() {
|
||||
if [ -x /usr/bin/flatpak ]; then
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo >>/dev/null
|
||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo >>/dev/null
|
||||
sudo flatpak install flathub -y \
|
||||
com.github.Rosalie241.RMG
|
||||
sudo flatpak update -y
|
||||
fi
|
||||
}
|
||||
|
||||
update-flatpak-games-packages() {
|
||||
if [ -x /usr/bin/flatpak ]; then
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo >>/dev/null
|
||||
|
@ -456,6 +466,7 @@ echo -e "$BGreen------------------------------------------------
|
|||
|$BBlue S. Install/Update Subsonic Client $BGreen |
|
||||
|$BBlue M. Install/Update Gaming Packages $BGreen |
|
||||
|$BBlue B. Install/Update BgGame Packages $BGreen |
|
||||
|$BBlue E. Install/Update Emulators Packages $BGreen |
|
||||
| |
|
||||
|$BRed R. Reboot System $BGreen |
|
||||
|$BRed Q. Exit Deployer $BGreen |
|
||||
|
@ -499,6 +510,17 @@ if [[ $choice = K ]]; then
|
|||
reload-script
|
||||
fi
|
||||
|
||||
if [[ $choice = E ]]; then
|
||||
title="Installation or Update of Emulators"
|
||||
header-show
|
||||
wait-3s
|
||||
enable-cmd-mode
|
||||
update-flatpak-emulators-packages
|
||||
disable-cmd-mode
|
||||
wait-for-keypress
|
||||
reload-script
|
||||
fi
|
||||
|
||||
if [[ $choice = S ]]; then
|
||||
title="Installation or Update of Subsonic Music Client"
|
||||
header-show
|
||||
|
|
Loading…
Add table
Reference in a new issue