Commit graph

12 commits

Author SHA1 Message Date
Oliver Smith
8ffc75757f src/prefs.js: rename to src/mobile-config-prefs.js (MR 2)
Give the file the same name in the source dir, as it will have after
installing.
2020-08-21 10:50:21 +02:00
Arnaud Ferraris
712b850c3b install userChrome.css using autoconfig instead of schell scripts (MR 2)
Firefox can run an autoconfig Javascript on startup, which can be used to
install and update userChrome.css, both when creating a new profile and
using a pre-existing one.

This removes the need for a wrapper script and related complications
(changes to $PATH, different processing for new and pre-existing
profiles...)

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-08-21 10:49:49 +02:00
Arnaud Ferraris
08e2288138
Makefile: allow to specify the firefox system directory (MR 1)
In some cases, such as the ESR package on Debian, Firefox can be
installed to a different directory.

This commit alters the Makefile so it's possible to specify the Firefox
directory from the command-line.
2020-08-20 13:23:27 +02:00
Oliver Smith
b03ff4fbc8
Makefile: use wildcard for userChrome.css files 2020-08-10 21:29:07 +02:00
Oliver Smith
49698e65c5
src: wrap firefox binary, not .desktop entry
Instead of trying to override the .desktop entry of Firefox by
installing the custom one and adjusting XDG_DATA_DIRS, just wrap the
firefox binary directly and adjust PATH. The former did not work with
Phosh, and on second thought, wrapping the binary is what's really
necessary. The launcher would have been just another useless layer.
2020-08-07 23:16:13 +02:00
Oliver Smith
8ec23ac39b
Makefile: fix desktop file install path 2020-08-07 23:16:13 +02:00
Oliver Smith
eba2a90912
Makefile: minor consistency tweak 2020-08-06 17:01:14 +02:00
Oliver Smith
34c8b53622
License under GPL-3.0-or-higher 2020-08-06 17:01:14 +02:00
Oliver Smith
87d4ae0ca3
mobile-config-firefox: create userChrome.css symlink 2020-08-06 17:01:14 +02:00
Oliver Smith
016a9bb845
Makefile: add install target 2020-08-06 17:01:14 +02:00
Oliver Smith
c1eafe0f8f
Remove most mentions of pmOS / make them optional 2020-08-06 17:01:14 +02:00
Oliver Smith
197aa05da3
Makefile: new file 2020-08-06 17:01:14 +02:00