floorp: fix substitution of executable

Fixing a regression introduced in commit e12df25
This commit is contained in:
Kilian Mio 2024-07-28 23:21:44 +02:00 committed by Mikilio
parent 0e333f3644
commit 0b62c871ca
No known key found for this signature in database
GPG Key ID: 0C159FAB320FEB35

View File

@ -38,7 +38,7 @@
# thus is the full /nix/store/[..] path. To avoid breaking PWAs with each
# update, rely on `floorp` being in $PATH, as before.
substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \
--replace-fail 'Services.dirsvc.get("XREExeF",Ci.nsIFile).path' floorp
--replace-fail 'Services.dirsvc.get("XREExeF",Ci.nsIFile).path' '"floorp"'
'';
updateScript = ./update.sh;