On Thu, 05 Aug 2021 15:14:06 +0200, Folderol wrote:
>
> I'll just have to think of something else. Maybe just point the users to
> the index file and have them load it into a browser manually.
>
Does this program/project have a configuration file?
If so, define the browser to be used in it?.
Thats my usual approach for anything that may change from one
installation to another.
I usually assume that the configuration file will be manually edited and
so validate it fairly carefully and treat config items that don't match
the environment/runtime conditions as a fatal errors. However, depending
on what your intended users can be expected to deal with, you may want to
add an interactive configuration editor which pops up if the
configuration doesn't match the environment.
--
--
Martin | martin at
Gregorie | gregorie dot org