Files
dotcom-arcade/streaming/streamer/root/opt/flashpoint/applet.policy
T
branderson 59d9ec5b4a Persist applet cookies to /config/saves
The JSObject stand-in kept cookies in memory, so saves were lost when the
game restarted. Write them to a file the session manager can sync, with the
policy granting only the agent jar access to that directory.
2026-10-11 00:33:10 -07:00

10 lines
353 B
Plaintext

grant {
permission java.net.URLPermission "http:*", "*:*";
};
grant codeBase "file:/opt/flashpoint/applet-support.jar" {
permission java.util.PropertyPermission "user.home", "read";
permission java.io.FilePermission "${user.home}${/}saves", "read,write";
permission java.io.FilePermission "${user.home}${/}saves${/}-", "read,write";
};