A sandboxing framework, originally designed for WeChat. Still in heavy development.
install -Dm755 portable.sh /usr/bin/portable
install -Dm755 open.sh /usr/lib/portable/open
install -Dm755 user-dirs.dirs /usr/lib/portable/user-dirs.dirs
install -Dm755 mimeapps.list /usr/lib/portable/mimeapps.list
install -Dm755 flatpak-info /usr/lib/portable/flatpak-info
Preferred location:
# Modify before installing
install -Dm755 config /usr/lib/portable/info/appID/config
Environment variables are read from stateDirectory/portable.env
Start portable with environment variable _portalConfig
, which is pointed to the actual config.
Start portable with argument --actions connect-tty debug-shell