forked from Shinonome/althea
althea
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
AltLinux_PATH="/usr/lib/altlinux"
|
||||
USER=$SUDO_USER
|
||||
|
||||
if [ -d "$AltLinux_PATH" ]; then
|
||||
sudo chown -R "$USER:$USER" "$AltLinux_PATH"
|
||||
fi
|
||||
exit 0
|
||||
@@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=AltLinux
|
||||
Path=/usr/lib/altlinux
|
||||
Exec=/usr/lib/altlinux/altlinux
|
||||
Icon=/usr/share/icons/AltLinux.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application
|
||||
Name[en_US]=AltLinux
|
||||
@@ -36,7 +36,7 @@ exe = EXE(
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='altlinux',
|
||||
name='althea',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
@@ -56,5 +56,5 @@ coll = COLLECT(
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='altlinux',
|
||||
name='althea',
|
||||
)
|
||||
@@ -1,9 +1,9 @@
|
||||
Package: AltLinux
|
||||
Name: AltLinux
|
||||
Package: althea
|
||||
Name: althea
|
||||
Version: 0.5.0
|
||||
Architecture: amd64
|
||||
Author: vyvir <the.uniformed630@aleeas.com>
|
||||
Maintainer: vyvir <the.uniformed630@aleeas.com>
|
||||
Description: GUI for AltServerLinux
|
||||
Homepage: https://github.com/i-love-altlinux/AltLinux
|
||||
Homepage: https://github.com/vyvir/althea
|
||||
Depends: binutils, python3 (>= 3.8), gir1.2-appindicator3-0.1, usbmuxd, libimobiledevice6, libimobiledevice-utils, libavahi-compat-libdnssd-dev, unzip, usbutils, libhandy-1-0, libhandy-1-dev, curl, python3-requests, gir1.2-notify-0.7, psmisc
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
althea_PATH="/usr/lib/althea"
|
||||
USER=$SUDO_USER
|
||||
|
||||
if [ -d "$althea_PATH" ]; then
|
||||
sudo chown -R "$USER:$USER" "$althea_PATH"
|
||||
fi
|
||||
exit 0
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=althea
|
||||
Path=/usr/lib/althea
|
||||
Exec=/usr/lib/althea/althea
|
||||
Icon=/usr/share/icons/althea.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application
|
||||
Name[en_US]=althea
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
@@ -2,17 +2,17 @@
|
||||
|
||||
cd "$(dirname "$0")" || exit
|
||||
|
||||
if [ -d "./AltLinux/usr/lib" ]; then
|
||||
if [ -d "./althea/usr/lib" ]; then
|
||||
rm -rf "./AltServer/usr/lib"
|
||||
fi
|
||||
if [ -d "./dist" ]; then
|
||||
rm -rf "./dist"
|
||||
fi
|
||||
|
||||
pyinstaller altlinux.spec --clean
|
||||
cp -R ./resources ./dist/altlinux
|
||||
mkdir -p "./AltLinux/usr/lib"
|
||||
pyinstaller althea.spec --clean
|
||||
cp -R ./resources ./dist/althea
|
||||
mkdir -p "./althea/usr/lib"
|
||||
|
||||
cp -R ./dist/altlinux ./AltLinux/usr/lib
|
||||
chmod -R 0775 AltLinux
|
||||
dpkg-deb --build --root-owner-group AltLinux AltLinux.deb
|
||||
cp -R ./dist/althea ./althea/usr/lib
|
||||
chmod -R 0775 althea
|
||||
dpkg-deb --build --root-owner-group althea althea.deb
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")" || exit
|
||||
|
||||
if [ -d "./AltLinux/usr/lib" ]; then
|
||||
rm -rf "./AltServer/usr/lib"
|
||||
fi
|
||||
if [ -d "./dist" ]; then
|
||||
rm -rf "./dist"
|
||||
fi
|
||||
|
||||
pyinstaller altlinux.spec --clean
|
||||
cp -R ./resources ./dist/altlinux
|
||||
mkdir -p "./AltLinux/usr/lib"
|
||||
|
||||
cp -R ./dist/altlinux ./AltLinux/usr/lib
|
||||
chmod -R 0775 AltLinux
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
cd "$(dirname "$0")" || exit
|
||||
|
||||
cat <<EOF | tee /home/$(whoami)/.local/share/altlinux/AltLinux.desktop >/dev/null
|
||||
cat <<EOF | tee /home/$(whoami)/.local/share/althea/althea.desktop >/dev/null
|
||||
[Desktop Entry]
|
||||
Name=AltLinux
|
||||
Name=althea
|
||||
GenericName=AltServer for Linux
|
||||
Path=/usr/lib/altlinux
|
||||
Exec=/usr/lib/altlinux/altlinux
|
||||
Path=/usr/lib/althea
|
||||
Exec=/usr/lib/althea/althea
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-GNOME-Autostart-enabled=true
|
||||
EOF
|
||||
|
||||
cp /home/$(whoami)/.local/share/altlinux/AltLinux.desktop /home/$(whoami)/.config/autostart/
|
||||
rm /home/$(whoami)/.local/share/altlinux/AltLinux.desktop
|
||||
cp /home/$(whoami)/.local/share/althea/althea.desktop /home/$(whoami)/.config/autostart/
|
||||
rm /home/$(whoami)/.local/share/althea/althea.desktop
|
||||
|
||||
Reference in New Issue
Block a user