Re: Recommended Way to locate executable folder and preferences folder on Linux
foxesden <foxesden.ats59z-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Sat, 12 Nov 2022 13:59:57 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
foxesden wrote: > I had an extended run at this today, and have managed to move the > install location of the executable and the preferences folder so that > they both now sit in the plugin folder structure as suggested. > I had to amend the program code too in order to correctly pick up the > path and saved configurations folder. I have thought of a more elegant > way of handling this but will leave that for another day. > I also need to do some testing on linux and may need to rebuild binaries > too. > > I have an a couple of questions regarding the helper path and the > custom.conf file. > > The plugin script generates a custome.conf file which embeds Inguz into > the workflow. At the moment I am setting the application variable to the > full path/binary-filename. If I add the file location to the Helper > folders can I just use the binary-filename without the full path? I was > assuming that the the server was shelling out to the operating system > and that the OS wouldn't know about the path. Answering my own question, as the long as the binary is contained in a helper folder location then it will be picked up, so no need to use the full path. ------------------------------------------------------------------------ foxesden's Profile: http://forums.slimdevices.com/member.php?userid=56286 View this thread: http://forums.slimdevices.com/showthread.php?t=116956