SMath Studio Forum
»
SMath Studio
»
Questions
»
Robust access to interactive book in portable version
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
When setting up a portable distribution with pre-installed plugins and handbook, then the link to the handbook is stored in the config file with absolute path. This is not portable, as the drive letter might change for an installation on mobile storage devices.
One can, however, edit the config file and just leave the relative path wrt. installation directory. This works as long as the user does not switch the current directory after program startup.
Currently, in such situations, I have to recommend the students to run a separate pristine SMath instance and use the handbook there.
The question is, how can the path possibly refer to the installation directory (as found with SettingsDirectory() by Davide)? Should not be too complicated as the extension manager finds the handbook anyways (after a useless error message). |
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Robust access to interactive book in portable version
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.