mirror of
https://github.com/SteamFramelyHomebrew/framely.git
synced 2026-10-17 23:01:23 +02:00
9 lines
380 B
Bash
9 lines
380 B
Bash
#!/system/bin/sh
|
|
set -eu
|
|
# podman exec lacks init's ART environment. Import only the runtime paths.
|
|
for entry in $(cat /proc/$(pidof system_server)/environ | tr '\0' '\n' | grep -E '^(ANDROID_(ROOT|DATA|ART_ROOT|I18N_ROOT|TZDATA_ROOT)|BOOTCLASSPATH)='); do
|
|
export "$entry"
|
|
done
|
|
export CLASSPATH=/vendor/share/framely-window.dex
|
|
exec app_process /system/bin FramelyWindow "$@"
|