Skip to content

Commit d3ff655

Browse files
authored
Update x86_64-appimage.yml
1 parent 95bd465 commit d3ff655

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/x86_64-appimage.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- name: Checkout Trinity (Repositorio Principal)
1111
uses: actions/checkout@v4
1212
with:
13+
ref: 'qt5-up'
1314
path: 'trinity'
1415

1516
- name: Clonar Dependencias Externas
@@ -23,13 +24,14 @@ jobs:
2324
run: |
2425
sudo apt-get update
2526
sudo apt-get install -y --no-install-recommends \
26-
ca-certificates build-essential git curl cmake clang ninja-build \
27-
qt6-base-dev qt6-base-dev-tools qt6-declarative-dev qt6-svg-dev qt6-tools-dev \
28-
qtbase5-dev qtdeclarative5-dev libqt5svg5-dev qtwebengine5-dev \
29-
libcurl4-openssl-dev libssl-dev libasound2-dev libpulse-dev \
30-
libx11-dev libxi-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev \
31-
libevdev-dev libusb-1.0-0-dev libdbus-1-dev libpng-dev libzip-dev \
32-
libfuse2 wget file python3 libudev-dev
27+
build-essential git curl cmake clang ninja-build \
28+
qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev qtwebengine5-dev libqt5svg5-dev qttools5-dev qttools5-dev-tools \
29+
libcurl4-openssl-dev libssl-dev libasound2-dev libpulse-dev libjack-jackd2-dev libpipewire-0.3-dev \
30+
libx11-dev libxi-dev libxext-dev libxfixes-dev libxcursor-dev libxrandr-dev libxss-dev libxtst-dev \
31+
libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libvulkan-dev vulkan-validationlayers \
32+
libdrm-dev libgbm-dev libudev-dev libevdev-dev libusb-1.0-0-dev libdbus-1-dev bluez \
33+
libibus-1.0-dev libxkbcommon-dev libpng-dev libzip-dev libcups2-dev libwayland-dev libunwind-dev libdecor-0-dev \
34+
file python3
3335
3436
- name: Verificar libzip instalado
3537
run: |
@@ -73,40 +75,34 @@ jobs:
7375
- name: Preparar AppDir y Empaquetar con LinuxDeploy
7476
env:
7577
ARCH: x86_64
78+
QMAKE: /usr/lib/qt5/bin/qmake
7679
run: |
77-
# 1. Descargar herramientas
7880
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
7981
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
8082
chmod +x linuxdeploy*.AppImage
8183
82-
# 2. Crear estructura inicial
8384
mkdir -p AppDir/usr/bin
8485
mkdir -p AppDir/usr/share/mcpelauncher
8586
86-
# 3. Copiar binarios y recursos
8787
cp mcpelauncher/build/mcpelauncher-client/mcpelauncher-client AppDir/usr/bin/
8888
cp mcpe-extract/build/mcpelauncher-extract AppDir/usr/bin/
8989
cp trinity/build/app/trinity AppDir/usr/bin/
9090
find msa/build -type f -name "msa-daemon" -exec cp {} AppDir/usr/bin/ \;
9191
find msa/build -type f -name "msa-ui-qt" -exec cp {} AppDir/usr/bin/ \;
9292
cp -r linux-bin/* AppDir/usr/share/mcpelauncher/
9393
94-
# 4. Inyectar dependencias externas (32-bit y librerías críticas)
9594
wget https://github.com/javiercplus/my-dockers-setup/releases/download/unstable/mcpelauncher-cli-32bit.AppImage -O AppDir/usr/bin/mcpelauncher-cli-32bit.AppImage
9695
ln -rs AppDir/usr/bin/mcpelauncher-cli-32bit.AppImage AppDir/usr/bin/mcpelauncher-client86
9796
9897
mkdir -p AppDir/usr/lib
9998
wget https://huggingface.co/datasets/ccoffee20/PEPE/resolve/main/libevdev.so.2 -O AppDir/usr/lib/libevdev.so.2
10099
101-
# Copiar libzip SO REAL (con versión detectada)
102100
LIBZIP_SRC=$(ls /usr/lib/x86_64-linux-gnu/libzip.so.* | head -n 1)
103101
echo "Copiando libzip desde: $LIBZIP_SRC"
104102
cp "$LIBZIP_SRC" AppDir/usr/lib/libzip.so.5
105103
106-
# También copiar cualquier dependencia relacionada
107104
cp /usr/lib/x86_64-linux-gnu/libminizip.so.* AppDir/usr/lib/ 2>/dev/null || true
108105
109-
# 5. Ejecutar linuxdeploy puro
110106
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run \
111107
--appdir AppDir \
112108
-e AppDir/usr/bin/trinity \

0 commit comments

Comments
 (0)