mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	RootId + Like
This commit is contained in:
		
							parent
							
								
									2230ddea79
								
							
						
					
					
						commit
						9d83e524cd
					
				
					 8 changed files with 27 additions and 11 deletions
				
			
		|  | @ -26,12 +26,12 @@ namespace AideDeJeu.UWP | |||
|         public async Task<string> GetDatabasePathAsync(string databaseName) | ||||
|         { | ||||
|             var documentsDirectoryPath = Windows.Storage.ApplicationData.Current.LocalFolder.Path; | ||||
|             var path = Path.Combine(documentsDirectoryPath, databaseName); | ||||
|             var path = Path.Combine(documentsDirectoryPath, $"{databaseName}.db"); | ||||
| 
 | ||||
|             if (!File.Exists(path)) | ||||
|             { | ||||
|                 var assembly = typeof(Version_UWP).GetTypeInfo().Assembly; | ||||
|                 using (var inStream = assembly.GetManifestResourceStream("AideDeJeu.UWP." + databaseName)) | ||||
|                 using (var inStream = assembly.GetManifestResourceStream($"AideDeJeu.UWP.{databaseName}.db")) | ||||
|                 { | ||||
|                     using (var outStream = new FileStream(path, FileMode.Create)) | ||||
|                     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez