Merge branch 'main' of https://github.com/Penumbra-Sync/client
This commit is contained in:
		| @@ -138,6 +138,8 @@ public class ConfigurationMigrator : IHostedService | ||||
|         var currentServer = serverConfigV0.CurrentServer; | ||||
|         var currentServerIdx = Array.IndexOf(serverConfigV0.ServerStorage.Keys.ToArray(), currentServer); | ||||
|  | ||||
|         if (currentServerIdx == -1) currentServerIdx = 0; | ||||
|  | ||||
|         migrated.CurrentServer = currentServerIdx; | ||||
|         migrated.ServerStorage = new(); | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|   <PropertyGroup> | ||||
|     <Authors></Authors> | ||||
|     <Company></Company> | ||||
|     <Version>0.8.7</Version> | ||||
|     <Version>0.8.8</Version> | ||||
|     <Description></Description> | ||||
|     <Copyright></Copyright> | ||||
|     <PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl> | ||||
|   | ||||
| @@ -23,6 +23,12 @@ public class ServerConfigurationManager | ||||
|         _serverTagConfig = serverTagConfig; | ||||
|         _notesConfig = notesConfig; | ||||
|         _dalamudUtil = dalamudUtil; | ||||
|  | ||||
|         if (_configService.Current.CurrentServer < 0) | ||||
|         { | ||||
|             _configService.Current.CurrentServer = 0; | ||||
|             _configService.Save(); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public string CurrentApiUrl => CurrentServer.ServerUri; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 rootdarkarchon
					rootdarkarchon