diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 10:09:39 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 10:09:39 -0500 |
| commit | af43100e29859adbf5dcb6ee90cd8f981439b859 (patch) | |
| tree | 6d51db8b4f0b77cf4443cb2f49c4e5a7c354d7b6 /libs/plugin_python/src/proxy/proxypython.cpp | |
| parent | 5d1fb2964a172e3444f18ca2ea823ee36784e699 (diff) | |
Remove AppImage build target and runtime references
We ship via portable tarball directory + .bin self-extracting installer
only; the AppImage path was unmaintained and pulling in linuxdeploy
tooling for a format we no longer publish.
Build:
- build.sh: drop appimage/all-includes-appimage modes (now: tarball,
installer, all=both, shell). Output listing tracks the directory.
- docker/Dockerfile: drop BUILD_APPIMAGE arg and the linuxdeploy
download/extract block.
- docker/build-inner.sh: drop build_appimage() (~120 lines), AppImage
arm of the BUILD_MODE switch, *.AppImage summary listing.
- docker/AppRun.sh: deleted.
- .gitignore: drop *.AppImage / squashfs-root / *.flatpak entries.
Runtime: no longer key off APPIMAGE/APPDIR env vars or AppRun-set
state. The fluorine-manager launcher script already exports
FLUORINE_ORIG_*, MO2_BASE_DIR, MO2_PLUGINS_DIR, MO2_LIBS_DIR,
MO2_PYTHON_DIR for the same purpose, so simplify:
- envshortcut: appImageOrBinary -> launcherOrBinary; bundledFluorineIcon
no longer probes APPDIR.
- nxmhandler: drop APPIMAGE-based wrapper path; use applicationFilePath.
- protonlauncher: rename cleanAppImageEnv -> cleanFluorineEnv, drop
APPIMAGE/APPDIR/OWD/ARGV0/APPIMAGE_ORIGINAL_EXEC/DESKTOPINTEGRATION
removals and .mount_Fluori pattern strip.
- prefixsetuprunner: same env-cleaning trim.
- utility, library.h, proxypython, mainwindow, moapplication, appconfig:
comment cleanup pointing at the launcher instead of AppRun.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/proxy/proxypython.cpp')
| -rw-r--r-- | libs/plugin_python/src/proxy/proxypython.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/plugin_python/src/proxy/proxypython.cpp b/libs/plugin_python/src/proxy/proxypython.cpp index 6e4acad..56d9dae 100644 --- a/libs/plugin_python/src/proxy/proxypython.cpp +++ b/libs/plugin_python/src/proxy/proxypython.cpp @@ -167,9 +167,10 @@ bool ProxyPython::init(IOrganizer* moInfo) std::filesystem::path{IOrganizer::getPluginDataPath().toStdWString()}}; m_Runner->initialize(paths); #else - // On Linux, rely on the unpacked stdlib from PYTHONHOME (AppRun sets - // MO2_PYTHON_DIR/PYTHONHOME). Do not prepend pythoncore.zip here: - // forcing zipimport can fail when zlib is unavailable in embedded mode. + // On Linux, rely on the unpacked stdlib from PYTHONHOME (the + // fluorine-manager launcher sets MO2_PYTHON_DIR/PYTHONHOME). Do not + // prepend pythoncore.zip here: forcing zipimport can fail when zlib + // is unavailable in embedded mode. std::vector<fs::path> paths{ libpath, std::filesystem::path{IOrganizer::getPluginDataPath().toStdWString()}}; @@ -184,9 +185,9 @@ bool ProxyPython::init(IOrganizer* moInfo) } } - // Allow portable/AppImage builds to ship Python packages next to the app. - // MO2_PYTHON_DIR (set by AppRun) points to the writable python/ dir - // next to the AppImage; fall back to <exe_dir>/python. + // Allow portable builds to ship Python packages next to the app. + // MO2_PYTHON_DIR (set by the fluorine-manager launcher) points to the + // writable python/ dir; fall back to <exe_dir>/python. fs::path pythonDir; const char* envPy = std::getenv("MO2_PYTHON_DIR"); if (envPy && envPy[0] != '\0') { |
