diff --git a/AppImage/build-ratarmount-appimage.sh b/AppImage/build-ratarmount-appimage.sh index 1b878273..ec661582 100644 --- a/AppImage/build-ratarmount-appimage.sh +++ b/AppImage/build-ratarmount-appimage.sh @@ -80,6 +80,12 @@ function installAppImagePythonPackages() # "$APP_PYTHON_BIN" -I -m pip install --no-cache-dir requests aiohttp sshfs smbprotocol pygit2<1.15 fsspec # This bloats the AppImage to 38.5 MB :/. Extracts to 121.0 MB # "$APP_PYTHON_BIN" -I -m pip install --no-cache-dir s3fs gcsfs adlfs dropboxdrivefs + + # Need to install it manually because it is disabled for Python >=3.12 because of: + # https://github.com/nathanhi/pyfatfs/issues/41 + # And we need to apply a patch for that. + "$APP_PYTHON_BIN" -I -m pip install --no-cache-dir pyfatfs + patch -u "$( find "$APP_DIR" -type f -name FatIO.py )" pyfatfs-issue-41.patch } function installAppImageSystemLibraries()