mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
5 Commits
099221131a
...
0190c84718
Author | SHA1 | Date | |
---|---|---|---|
|
0190c84718 | ||
|
696110eae5 | ||
|
ff44b7095f | ||
|
df008d63e3 | ||
|
dad9b4a234 |
19
.github/release.yml
vendored
19
.github/release.yml
vendored
|
@ -1,20 +1,23 @@
|
||||||
changelog:
|
changelog:
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: '🚀 Features'
|
||||||
labels:
|
label: 'enhancement'
|
||||||
- 'feature'
|
|
||||||
- 'enhancement'
|
|
||||||
- title: '🐛 Bug Fixes'
|
- title: '🐛 Bug Fixes'
|
||||||
labels:
|
label: 'bug'
|
||||||
- 'fix'
|
- title: '⚙️ Refactoring'
|
||||||
- 'bugfix'
|
label: 'refactor'
|
||||||
- 'bug'
|
- title: '🧩 UI/UX'
|
||||||
|
label: 'UI/UX'
|
||||||
- title: '📚 Documentation'
|
- title: '📚 Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🔒 Security'
|
- title: '🔒 Security'
|
||||||
label: 'security'
|
label: 'security'
|
||||||
- title: '🧰 GitHub Actions'
|
- title: '🧰 GitHub Actions'
|
||||||
label: 'github actions'
|
label: 'github_actions'
|
||||||
|
- title: '🦀 Rust'
|
||||||
|
label: 'rust'
|
||||||
|
- title: '📃 Scripting'
|
||||||
|
label: 'script'
|
||||||
exclude:
|
exclude:
|
||||||
labels:
|
labels:
|
||||||
- 'skip-changelog'
|
- 'skip-changelog'
|
|
@ -3,8 +3,7 @@
|
||||||
. ../common-script.sh
|
. ../common-script.sh
|
||||||
|
|
||||||
installDepend() {
|
installDepend() {
|
||||||
# Check for dependencies
|
DEPENDENCIES='wine dbus git'
|
||||||
DEPENDENCIES='wine dbus'
|
|
||||||
printf "%b\n" "${YELLOW}Installing dependencies...${RC}"
|
printf "%b\n" "${YELLOW}Installing dependencies...${RC}"
|
||||||
case "$PACKAGER" in
|
case "$PACKAGER" in
|
||||||
pacman)
|
pacman)
|
||||||
|
@ -26,12 +25,15 @@ installDepend() {
|
||||||
$AUR_HELPER -S --needed --noconfirm $DEPENDENCIES $DISTRO_DEPS
|
$AUR_HELPER -S --needed --noconfirm $DEPENDENCIES $DISTRO_DEPS
|
||||||
;;
|
;;
|
||||||
apt-get|nala)
|
apt-get|nala)
|
||||||
DISTRO_DEPS="libasound2 libsdl2 wine64 wine32"
|
DISTRO_DEPS="libasound2 libsdl2-2.0-0 wine64 wine32"
|
||||||
|
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" update
|
|
||||||
"$ESCALATION_TOOL" dpkg --add-architecture i386
|
"$ESCALATION_TOOL" dpkg --add-architecture i386
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y software-properties-common
|
|
||||||
"$ESCALATION_TOOL" apt-add-repository contrib -y
|
if [ "$DTYPE" != "pop" ]; then
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" install -y software-properties-common
|
||||||
|
"$ESCALATION_TOOL" apt-add-repository contrib -y
|
||||||
|
fi
|
||||||
|
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" update
|
"$ESCALATION_TOOL" "$PACKAGER" update
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES $DISTRO_DEPS
|
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES $DISTRO_DEPS
|
||||||
;;
|
;;
|
||||||
|
@ -50,7 +52,8 @@ installDepend() {
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -n install $DEPENDENCIES
|
"$ESCALATION_TOOL" "$PACKAGER" -n install $DEPENDENCIES
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES
|
printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}"
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -71,7 +74,7 @@ installAdditionalDepend() {
|
||||||
curl -sSLo "lutris_${version_no_v}_all.deb" "https://github.com/lutris/lutris/releases/download/${version}/lutris_${version_no_v}_all.deb"
|
curl -sSLo "lutris_${version_no_v}_all.deb" "https://github.com/lutris/lutris/releases/download/${version}/lutris_${version_no_v}_all.deb"
|
||||||
|
|
||||||
printf "%b\n" "${YELLOW}Installing Lutris...${RC}"
|
printf "%b\n" "${YELLOW}Installing Lutris...${RC}"
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install ./lutris_"${version_no_v}"_all.deb
|
"$ESCALATION_TOOL" "$PACKAGER" install -y ./lutris_"${version_no_v}"_all.deb
|
||||||
|
|
||||||
rm lutris_"${version_no_v}"_all.deb
|
rm lutris_"${version_no_v}"_all.deb
|
||||||
|
|
||||||
|
@ -90,11 +93,12 @@ installAdditionalDepend() {
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y $DISTRO_DEPS
|
"$ESCALATION_TOOL" "$PACKAGER" install -y $DISTRO_DEPS
|
||||||
;;
|
;;
|
||||||
zypper)
|
zypper)
|
||||||
# Flatpak
|
|
||||||
DISTRO_DEPS='lutris'
|
DISTRO_DEPS='lutris'
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -n install $DISTRO_DEPS
|
"$ESCALATION_TOOL" "$PACKAGER" -n install $DISTRO_DEPS
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}"
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user