Hi there!
I'm a newbie here and unsure if that is the rigt way.
For the time being I've improved the FocusWriter launcher.ini for a better portable support. I've also added an online installer.
So, please test it and let me know your opinion.
md5: 1c96f7790d78fe79b4946ffe22a4f225
... but you don't need to create a whole new package for an app, please just report the issues you've seen in the app's thread (if it is a beta test), or the app's own Support forum/the Other Apps Support forum (if it is an official app).
Changes I agree with:
Changes I disagree on (or that have issues):
Value=%PortableApps.comDocuments:ForwardSlash%/Focus Documents
in your [FileWrite3]But let me say one or two things:
The Environment - ok. It isn't necessary, but if you store your files on a Portable Drive it can help for better file handling.
The user can change it simply, if he don't like this.
Wildcards - There you're mistaken! Believe me, I use this program daily and it works very fine with this wildcards! Even more. The Sessions handling without this wildcards are impossible.
But Thank you for your Opinion and suggestions.
And now, I have question:
I've re-compiled the Abiword porgram in the 3.0 format. Which is right place to post this (for testing, criticism, helping)?
Pierre
Save location
It wouldn't be a problem if the save location was set once in DefaultData (so it is set on first run or with a clean Data directory) and just used normal path handling the rest of the time, but that [FileWrite] will reset the save location on every run. Users are not meant to and should not be expected to modify the launcher.ini to make an app work as they expect, so it should be left out and just let the normal path handling take care of it.
Wildcards
The documentation must be out of date then as it doesn't say anything about supporting wildcards in the [FileWrite] section of the manual.
Abiword
Post it in the beta test forum. Just make sure you post the necessary information (or use Dev Test Thread Builder) as for any beta test, but also state that it is a format update of the official app in the thread. I can't guarantee John will use it, but if you want to post it I will check it over.
Save location
I agree with you. OK, I change this
Wildcard
Btw, the launcher have a few secrets. Wildcards make the [FileWriteN]Section a bit easier to handle.
So, Here is the modified file
[Launch]
ProgramExecutable=FocusWriter\FocusWriter.exe
WorkingDirectory=%PAL:AppDir%\FocusWriter
DirectoryMoveOK=yes
SupportsUNC=yes
[DirectoriesMove]
FocusWriterData=%PAL:AppDir%\FocusWriter\data
[Activate]
Registry=true
[QtKeysCleanup]
1="Qt Factory Cache 4.8\com.trolltech.Qt.QImageIOHandlerFactoryInterface:"
2="Qt Plugin Cache 4.8.false"
[FileWrite1]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Settings\GottCode\FocusWriter.ini
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
[FileWrite2]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Settings\GottCode\FocusWriter.ini
Find=%PAL:LastDrive%/
Replace=%PAL:Drive%/
[FileWrite4]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Sessions\*.session
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
[FileWrite5]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Sessions\*.session
Find=%PAL:LastDrive%/
Replace=%PAL:Drive%/
And? Usable?
AbiWord
OK, I try it
Another Question
I've another 4 nice programs compiled, but without any permissions. Does it make sense to post it in the forum???