You are here

PhotoFiltre Portable - plugins location vs PA.c Updater

9 posts / 0 new
Last post
legnakrad
Offline
Last seen: 2 months 3 weeks ago
Joined: 2008-04-15 22:41
PhotoFiltre Portable - plugins location vs PA.c Updater

hello

this is the location of the plugins
\PortableApps\PhotoFiltrePortable\App\PhotoFiltre\Plugins

there is no specific PA.c pakage for the plugins so i just download it from the PhotoFiltre site and extracted them into that location

when updating a future release of PhotoFiltre Portable using the PA.c Updater will i loose the plugins or will be kept ?

tia

l

J Neutron
Offline
Last seen: 7 months 1 day ago
Joined: 2008-06-10 19:26
Gone

The only folder that gets saved is \Data and whatever it includes as in:
\PortableApps\PhotoFiltrePortable\Data\

neutron1132 (at) usa (dot) com

Aluísio A. S. G.
Offline
Last seen: 8 years 4 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Maybe

Check if the file App\AppInfo\Installer.ini contains something like:

[DirectoriesToPreserve]
PreserveDirectory1=App\PhotoFiltre\Plugins

Previously known as kAlug.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
They are kept

because the App\AppInfo\Installer.ini tells the installer to keep the App folder.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-08-11 11:24
Right

The RemoveAppDirectory=false line keeps the App folder from being deleted, which means plugins won't be deleted either.

@John: should that be changed to only preserve the plugin and language folders, or do you think the entire App folder should be preserved?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 3 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
My thoughts

If you keep the entire "App" folder, the base app won't get updated as the new files are ignored.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Incorrect

Updated files will be updated. The problem is only that files which have been deleted in the new version won't be, so you could potentially get things breaking as a result.

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

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Scrub it

There is a reason that RemoveAppDirectory defaults to true. You should use PreserveDirectory lines unless it's arbitrary what needs to be kept.

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

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-08-11 11:24
Will do

I'll pull that RemoveAppDirectory and replace it with a PreserveDirectory for Plugins and one for Languages. Do you think I should preserve Masks, Patterns, and Selections too? (I'm inclined to, just in case the user has some custom stuff set up, but I don't want to go overboard on preserving things)

While we're discussing this, do you think it warrants a revision? Photofiltre is rarely updated (looking at its changelog, time between updates has ranged from a few months to nearly a year), so I'm favoring a revision just so the fix actually gets out the door.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Log in or register to post comments