mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
App name, app ID and code package: DroidDeck, com.droiddeck.launcher (sources moved to com/droiddeck/launcher, the 68 JNI functions renamed with them). The new app ID installs beside SteamDeck rather than over it. Everywhere the name was the app's own: the sidebar title, the session report, share zips, the shell title, wake-lock and log tags, User-Agents, the Compose theme, the Download folder and switch files (droiddeck-env, -osc, -driver, -tu-debug, -no-pad, -pad-log, -no-hud, -wlr-renderer; the old names are not read), and inside the runtime (droiddeck-desktop, Firefox's droiddeck.js, the shortcuts tag, the rumble socket, debug and cache paths). Build scripts, CI artifact (droiddeck-apk), CMake project, README and the progress log follow. Kept on purpose: Valve's Steam Deck (the -steamdeck flag, steamdeck_publicbeta/stable, 'Steam Deck mode', the steamos.cloud package URLs) and names inside the hosted desktop package (steamdeck.png, steamdeck-steam, steamdeck-bigpicture). 'Desktop installed' now tests for labwc instead of the launcher the app stages itself. A committed __pycache__ .pyc is removed.
20 lines
1.0 KiB
JavaScript
20 lines
1.0 KiB
JavaScript
// Firefox defaults for the DroidDeck desktop, staged by the app into
|
|
// /usr/lib/firefox/defaults/pref/. A user's own prefs.js still wins.
|
|
|
|
// Firefox judges "online" by dumping the routing table over netlink, which Android denies to
|
|
// apps; seeing no default route it switches itself to Work Offline and every page fails while
|
|
// the network is fine. Let it just try.
|
|
pref("network.manage-offline-status", false);
|
|
pref("browser.offline", false);
|
|
// No user namespaces on Android kernels and a ptrace'd process tree: the process sandboxes
|
|
// have nothing to set up and only add failure modes.
|
|
pref("security.sandbox.content.level", 0);
|
|
pref("media.cubeb.sandbox", false);
|
|
pref("security.sandbox.socket.process.level", 0);
|
|
// Handheld-sized chrome, and nothing phoning home on first run.
|
|
pref("browser.shell.checkDefaultBrowser", false);
|
|
pref("datareporting.policy.dataSubmissionEnabled", false);
|
|
pref("browser.aboutwelcome.enabled", false);
|
|
pref("browser.startup.homepage", "about:blank");
|
|
pref("layout.css.devPixelsPerPx", "1.25");
|