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.
This commit is contained in:
parent
8ec23ac39b
commit
49698e65c5
4 changed files with 8 additions and 16 deletions
6
Makefile
6
Makefile
|
@ -31,8 +31,8 @@ install: all
|
|||
install -Dm644 "out/userChrome.css" \
|
||||
"$(DESTDIR)/etc/mobile-config-firefox/userChrome.css"
|
||||
install -Dm755 "src/mobile-config-firefox.sh" \
|
||||
"$(DESTDIR)/usr/bin/mobile-config-firefox"
|
||||
install -Dm644 "src/mobile-config-firefox.desktop" \
|
||||
"$(DESTDIR)/usr/mobile-config/share/applications/org.mozilla.firefox.desktop"
|
||||
"$(DESTDIR)/usr/mobile-config/bin/firefox"
|
||||
install -Dm755 "src/mobile-config-path.sh" \
|
||||
"$(DESTDIR)/etc/profile.d/mobile-config-path.sh"
|
||||
|
||||
.PHONY: all clean install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue