diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-19 17:25:48 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-19 17:25:48 -0600 |
| commit | 5467e210668eb24de9a4429ef0ddcbc6442e8932 (patch) | |
| tree | 6c672183779c800963d73db5bee6742bf08c65fd /flatpak/flatpak-install.sh | |
| parent | 6d70b7fa6a9cdf8ea59c7aa98f92249c5a4e0060 (diff) | |
Add Python init diagnostics, AppImage build system, misc Linux fixes
- python: switch Py_InitializeEx → Py_InitializeFromConfig for explicit
error reporting; add dladdr + fprintf diagnostics to trace which DSO
Python symbols resolve to and whether Py_IsInitialized succeeds
- python: log RTLD_NOLOAD vs fresh-load outcome when promoting libpython
to RTLD_GLOBAL
- build: add Docker-based AppImage build script (build.sh), update
Dockerfile and build-inner.sh for AppImage-only workflow
- build: remove Flatpak support entirely; move AppImage metadata
(desktop/metainfo/icon) from flatpak/ to data/
- Add Monster Hunter Wilds basic_games plugin
- .gitignore: exclude squashfs-root, build-source, flatpak-repo,
__pycache__, fomod-plus-settings.ini
- Various Linux port fixes across wineprefix, processrunner, proton
launcher, FUSE connector, instance manager, download manager,
sanitychecks, and NaK Rust paths/runtime_wrap
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'flatpak/flatpak-install.sh')
| -rwxr-xr-x | flatpak/flatpak-install.sh | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/flatpak/flatpak-install.sh b/flatpak/flatpak-install.sh deleted file mode 100755 index 984d12b..0000000 --- a/flatpak/flatpak-install.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env bash -# Build the Fluorine Manager Flatpak. -# -# Usage: -# cd flatpak && bash flatpak-install.sh # build & install locally -# cd flatpak && bash flatpak-install.sh bundle # build a .flatpak file to share -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" -PROJECT_DIR="$(dirname "${SCRIPT_DIR}")" -MANIFEST="${SCRIPT_DIR}/com.fluorine.manager.yml" -APP_ID="com.fluorine.manager" -BUILD_DIR="${PROJECT_DIR}/.flatpak-build" -MODE="${1:-install}" - -# ── Ensure flathub remote exists ── -if ! flatpak remote-list --user | grep -q flathub; then - echo "Adding flathub remote..." - flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo -fi - -# ── Install required Flatpak runtime and SDK ── -echo "Installing KDE Platform and SDK (may take a while on first run)..." -flatpak install --user --noninteractive flathub org.kde.Platform//6.10 org.kde.Sdk//6.10 - -echo "Installing Rust SDK extension..." -flatpak install --user --noninteractive flathub org.freedesktop.Sdk.Extension.rust-stable//25.08 - -cd "${PROJECT_DIR}" - -if [ "${MODE}" = "bundle" ]; then - # ── Build a distributable .flatpak file ── - echo "" - echo "Building Flatpak bundle (this may take a while)..." - flatpak-builder --disable-rofiles-fuse --repo="${PROJECT_DIR}/flatpak-repo" --force-clean --ccache \ - "${BUILD_DIR}" "${MANIFEST}" - flatpak build-bundle \ - --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \ - "${PROJECT_DIR}/flatpak-repo" "${PROJECT_DIR}/fluorine-manager.flatpak" "${APP_ID}" - BUNDLE_SIZE="$(du -sh fluorine-manager.flatpak | cut -f1)" - echo "" - echo "=== Bundle created: fluorine-manager.flatpak (${BUNDLE_SIZE}) ===" - echo "" - echo "Share this file with testers. They install it with:" - echo " flatpak install --user fluorine-manager.flatpak" -else - # ── Build and install locally ── - echo "" - echo "Building and installing Flatpak locally (this may take a while)..." - flatpak-builder --disable-rofiles-fuse --install --user --force-clean --ccache \ - "${BUILD_DIR}" "${MANIFEST}" - echo "" - echo "=== Flatpak installed successfully ===" -fi - -echo "" -echo "Usage:" -echo " flatpak run ${APP_ID} # launch GUI" -echo " flatpak run ${APP_ID} create-portable --name myinstance --game falloutnv" -echo " flatpak run ${APP_ID} list-instances" |
