You are here

[Fixed] Jarte Portable DirectoryMove not OK

7 posts / 0 new
Last post
prapper
Offline
Last seen: 3 years 9 months ago
Developer
Joined: 2008-01-24 17:01
[Fixed] Jarte Portable DirectoryMove not OK

Installed to F:\PortableApps\JartePortable. First run data dir is JartePortable\Data.

Moved to F:\JartePortable. It now asks to confirm license & uses JartePortable\Data\Data (losing settings).

Moved back to F:\PortableApps\JartePortable. Uses JartePortable\Data again.

vf2nsr
vf2nsr's picture
Offline
Last seen: 8 years 1 month ago
Developer
Joined: 2010-02-13 17:10
will

look at it but since that part of coding was not mine will have to familarize myself

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 50 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
PAL Bug

If it's broken then it could be a PAL bug. The dev test was broken and kept settings in App, meaning they'd be wiped out with every upgrade. The release version has this:

[DirectoriesMove]
Data=%PAL:AppDir%\Jarte\Data

It moves JartePortable\Data\Data to JartePortable\App\Jarta\Data and then back on exit. The configuration is correct. It always should be in JartePortable\Data\Data when not running, never in JartePortable\Data. If it's not working, it sounds like we may have found a PAL bug.

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

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Name "Data" is dangerous

Working with a file or directory with the same name as its parent is a dangerous case, due to the general ability to omit the file/directory name in the target path. I'll try to check it out more next week and see if anything can be done about it.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 50 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Figured It Out

I finally figured this one out. It seems that Jarte detects when its parent directory is "portableapps" and adjusts the way it stores data. I wrote a custom code fix so that data will always wind up the same way and always be adjusted. It's mirroring until tomorrow when it'll be released.

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

vf2nsr
vf2nsr's picture
Offline
Last seen: 8 years 1 month ago
Developer
Joined: 2010-02-13 17:10
Thanks JOhn and Chris etc

Not sure how I missed/messed up on t all. Sorry to have to make you all work so hard on it.

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 50 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 5.0 Rev 2

The fix has been pushed out in Jarte Portable 5.0 Rev 2.

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

Log in or register to post comments