forked from Shinonome/dots-hyprland
Switch to AGS v1.9.0 (#1092)
and switch bin name for [preparing migrating to agsv2](https://github.com/Aylur/ags/issues/618#issuecomment-2476866842)
This commit is contained in:
@@ -23,16 +23,18 @@ install-yay() {
|
||||
}
|
||||
|
||||
# Not for Arch(based) distro.
|
||||
install-ags (){
|
||||
x mkdir -p $base/cache/ags
|
||||
x cd $base/cache/ags
|
||||
install-agsv1 (){
|
||||
x mkdir -p $base/cache/agsv1
|
||||
x cd $base/cache/agsv1
|
||||
try git init -b main
|
||||
try git remote add origin https://github.com/Aylur/ags.git
|
||||
x git pull origin main && git submodule update --init --recursive
|
||||
x git checkout 05e0f23534fa30c1db2a142664ee8f71e38db260
|
||||
x git fetch --tags
|
||||
x git checkout v1.9.0
|
||||
x npm install
|
||||
x meson setup build # --reconfigure
|
||||
x meson install -C build
|
||||
x sudo mv /usr/local/bin/ags{,v1}
|
||||
x cd $base
|
||||
}
|
||||
|
||||
@@ -146,7 +148,7 @@ install-python-packages (){
|
||||
# Only for Arch(based) distro.
|
||||
handle-deprecated-dependencies (){
|
||||
printf "\e[36m[$0]: Removing deprecated dependencies:\e[0m\n"
|
||||
for i in illogical-impulse-{microtex,pymyc-aur} {hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done
|
||||
for i in illogical-impulse-{microtex,pymyc-aur,ags} {hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done
|
||||
# Convert old dependencies to non explicit dependencies so that they can be orphaned if not in meta packages
|
||||
remove_bashcomments_emptylines ./scriptdata/previous_dependencies.conf ./cache/old_deps_stripped.conf
|
||||
readarray -t old_deps_list < ./cache/old_deps_stripped.conf
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
### This file contains a list of dependencies which were previously explicitly installed that are now installed using meta packages
|
||||
### Must be one package per line as it needs to be compared against the explicitly installed list from pacman
|
||||
illogical-impulse-ags
|
||||
axel
|
||||
bc
|
||||
coreutils
|
||||
|
||||
Reference in New Issue
Block a user