Would it be possible to use a local folder as a cache for .paf.exe files?
I.e. PAUpdater wants to update FF6 and it cannot find it in "\\server\paf" so it downloads it from sf.net and saves it in "\\server\paf" then runs the updated PAF exe from "\\server\paf".
This could be a single entry in PAU.ini
LocalCacheFolder=\\server\paf ; or c:\paf or ...
And the logic is quite simple:
function Updated_PAF_file_path ( paf_exe_filename )
return FileExists ( LocalCacheFolder + paf_exe_filename ) || PAF_download ( paf_exe_filename , destination=LocalCacheFolder )
end function
An empty LocalCacheFolder would still use a temporary directory.
Thank you.
We'll be adding local directories to keep the files in at some point. I'm not sure if we'll support named paths or not.
Sometimes, the impossible can become possible, if you're awesome!
I don't know if Delphi supports named paths but maybe one could "subst". I don't personally really need it as I use PA in my PC but wanted to be as universal as possible.
Thanks for the prompt reply.