mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-02 18:44:56 +12:00
Keep using former user settings on version upgrades
This commit is contained in:
parent
4b0fda9373
commit
47bba47ea4
|
@ -17,9 +17,9 @@ namespace SystemTrayMenu
|
|||
}
|
||||
|
||||
public static bool LoadOrSetByUser()
|
||||
{
|
||||
bool pathOK = Directory.Exists(
|
||||
Properties.Settings.Default.PathDirectory);
|
||||
{
|
||||
Properties.Settings.Default.Upgrade(); // configs located at "%localappdata%\<AssemblyCompany>\"
|
||||
bool pathOK = Directory.Exists(Properties.Settings.Default.PathDirectory);
|
||||
if (!pathOK)
|
||||
{
|
||||
pathOK = SetFolderByUser();
|
||||
|
|
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.9.1.242")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.242")]
|
||||
[assembly: AssemblyVersion("0.9.1.243")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.243")]
|
||||
|
|
Loading…
Reference in a new issue