Currently portable launcher has directory settings hard coded into launcher which makes portable mode be less flexible for the user.
ProgramPath := A_ScriptDir "\LibreWolf"
ExeFile := ProgramPath "\librewolf.exe"
ProfilePath := A_ScriptDir "\Profiles\Default"
Recommend adding settings ini file next to launcher executable which would allow for changes to be made such that program path, executable file, and profile path can be changed. If possible this could allow for passing of launch parameters to be used as well.
This idea was taken from the approach PortableApps has taken for their portable Firefox launcher. The main reason i like this is because i can easily create multiple profiles each with their own settings and extensions and i can just modify the launcher settings file to launch that profile. as needed.
Example:
LibreWolfDirectory=LibreWolf
ProfileDirectory=Profile\Default
LaunchParameters=-no-remote
Chrlauncher also has a similar approach for portable chrome with its respective settings file.
I'm not sure if this is possible but maybe a launch flag could be added to the LibreWolf launcher that allows for it to read a specific settings file within the directly, that way if people want to make custom shortcuts that launch specific profiles then it would be possible like so:
"LibreWolf-Portable.exe" -LibreWolf-Portable.ini
(Default)
"LibreWolf-Portable.exe" -LibreWolf-Portable-Tor.ini
(settings file modified to specifically launch a tor profile)