diff --git a/dist_assets/linux/AppImageBuilder.yml b/dist_assets/linux/AppImageBuilder.yml index 8fa536f6f..0ba40ed54 100644 --- a/dist_assets/linux/AppImageBuilder.yml +++ b/dist_assets/linux/AppImageBuilder.yml @@ -8,8 +8,8 @@ AppDir: name: pyfa icon: pyfa version: $PYFA_VERSION - exec: ${APPDIR}/bin/python3.11 - exec_args: "-s ${APPDIR}/opt/pyfa/pyfa.py $@" + exec: $APPDIR/bin/python3.11 + exec_args: "-s $APPDIR/opt/pyfa/pyfa.py $@" apt: arch: [ amd64 ] @@ -36,8 +36,8 @@ AppDir: after_runtime: # Install python dependencies - - python3.11 -s -m pip install --prefix=/usr --root=AppDir -U pip setuptools wheel - - python3.11 -s -m pip install --prefix=/usr --root=AppDir -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 -r requirements.txt + - python3.11 -s -m pip install --prefix=/usr --root=${APPDIR} -U pip setuptools wheel + - python3.11 -s -m pip install --prefix=/usr --root=${APPDIR} -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 -r requirements.txt # Compile app data - find locale/ -type f -name "*.po" -exec msgen "{}" -o "{}" \; - python3.11 scripts/compile_lang.py @@ -46,9 +46,9 @@ AppDir: # Calculate app version - export PYFA_VERSION="$(python3.11 scripts/dump_version.py)" # Copy app and clean it up - - mkdir -p AppDir/usr/src - - cp -r eos graphs gui imgs locale service utils eve.db config.py pyfa.py db_update.py README.md LICENSE version.yml AppDir/usr/src - - find AppDir/usr/src | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf + - mkdir -p ${APPDIR}/usr/src + - cp -r eos graphs gui imgs locale service utils eve.db config.py pyfa.py db_update.py README.md LICENSE version.yml ${APPDIR}/usr/src + - find ${APPDIR}/usr/src | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf AppImage: sign-key: None