In some cases chromium is not a snap package and is also not installed as chromium but as chromium-browser (e.g. alpine chromium package installs as chromium-browser).
Instead of hard-coding chromium path and bin, allow for configuration of chromium bin from the environment and then use which to get the path.
In some cases
chromium
is not a snap package and is also not installed aschromium
but aschromium-browser
(e.g. alpine chromium package installs aschromium-browser
).Instead of hard-coding chromium path and bin, allow for configuration of chromium bin from the environment and then use
which
to get the path.e.g.
Also maybe move installation to
install.sh
?