How do I use these environment variables? #473
Replies: 1 comment
-
This is unrelated to To make the browser detect the native connector, you need to have a native messaging manifest at Which OS and distro do you use, how did you install PWAsForFirefox and how is the main Firefox installed? You shouldn't normally be required to set those environment variables and configure manifests manually... |
Beta Was this translation helpful? Give feedback.
-
The documentation is unclear to me.
First off: what should those variables contain exactly?
Should
FFPWA_EXECUTABLES
point to the executables, like:FFPWA_EXECUTABLES=/foo/usr/bin/firefoxpwa:/foo/usr/libexec/firefoxpwa-connector
or should it be like a prefix, e.g.
FFPWA_EXECUTABLES=/foo/usr/
or should it be like a path
FFPWA_EXECUTABLES=/foo/usr/bin:/foo/usr/libexec
I've tried all of these with a firefox launch script like:
#!/bin/bash export FFPWA_EXECUTABLES=/foo/bar firefox $@
but the wizard does not proceed to the Runtime Installation page but is stuck at the Connector Installation page with no obvious way to continue. Should it work when using such a launch script?
The documentation says:
Can be overwritten by a
FFPWA_EXECUTABLES
build- or run-time environment variable.So do I need to specify this at build time or does it suffice to specify it at runtime (I'm just asking because it says or but I could not get it to work trying to modify only the run-time environment)? I had modified the installation script to install to my custom location
/foo/usr
and the installation to these paths worked.N.B.: I can execute firefoxpwa from the command line (and also firefoxpwa-connector).
Beta Was this translation helpful? Give feedback.
All reactions