You are here 705137

fdmPortable: path 1g6o1f

3 posts / 0 new
Last post
xmha97
Offline
Last seen: 1 month 2 weeks ago
ed: 2021-01-03 06:04
fdmPortable: path

Hi, why this fdmPortable ing to app folder and then move ed files to data folder?

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\portabledata\settings.ini
Find=@PLACEHOLDER-DEFAULT-S-FORWARDSLASH@
Replace=%PAL:AppDir:ForwardSlash%/FreeManager/s

[DirectoriesMove]
portabledata=%PAL:AppDir%\FreeManager\portabledata
localdata=%LOCALAPPDATA%\Softdeluxe\Free Manager
s=%PAL:AppDir%\FreeManager\s

You can set path to fdmPortable data folder.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 13 sec ago
DeveloperTranslator
ed: 2005-11-28 22:21
Portablization

Free Manager stores the current path as appdir\s in its SQLite settings database. Setting it up to the Data directory directly causes it to portablize it based on the drive root. This will break for s that use it synced between multiple PCs from a cloud folder when the PCs have different s. So, for the first releases, I set it to move back and forth. I'll likely add some custom code to set it to that directory on each launch in Data so it doesn't have to move at some point.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 13 sec ago
DeveloperTranslator
ed: 2005-11-28 22:21
Added in 6.24.2

I've added the code in today 6.24.2 release so the s directory now remains within the Data directory.

Sometimes, the impossible can become possible, if you're awesome!

to post comments