Closed wincmd64 closed 8 months ago
I am very sorry for the delay in offering a response, but I have had this project quite forgotten and abandoned.
Responding to your question, please let me clarify that the auto-generated file in the local appdata directory does not influence the portability of the program, being understood as an application that does not require installation, and can be used from, for example, a USB device.
In the "Easy Link File Viewer.exe.config" file located next to the portable executable, you can modify and set the default values of the program options:
<setting name="VisualThemeIndex" serializeAs="String">
<value>0</value>
</setting>
<setting name="FontSize" serializeAs="String">
<value>10</value>
</setting>
The value you specify for those options will take effect immediately the first time you start the program, as long as the auto-generated file does not exist in the local app data directory with different options.
In any case, the auto-generated file in the local app data directory may be a unnecessary step if we want to consider it fully portable, so that file will be something that will no longer be present in the next release. The methodology for saving and loading user preferences will be changed so that they will be stored in the same directory of the portable executable.
This may take me some time to implement (from few days, to some weeks) as there are several other Issues in this project that I also need to try offer solutions to before publishing the next release. Please be patient.
Sincerely, Elektro.
The fix has already been implemented in the new source code update. See change log. This was done using Jot.
Please wait for the new release to be published.
If you have more questions feel free to follow this debate. For now, I consider it completed.
and what about user.config in local appdata?