#!/bin/sh
# AppImage entry point: start the local web UI (it opens the browser itself).
# Uses `python3 -m` so it does not rely on absolute shebangs (the bundled Python
# is relocatable, so console-script shebangs would point at the build machine).
HERE="$(dirname "$(readlink -f "$0")")"
export PATH="$HERE/usr/python/bin:$PATH"
exec "$HERE/usr/python/bin/python3" -m imap_cleanup_tool.webapp "$@"
