Exemple #1
0
 public static async Task InitializeUplayDb()
 {
     if (!string.IsNullOrEmpty(Properties.Settings.Default.UplayDbPath) && File.Exists(Properties.Settings.Default.UplayDbPath))
     {
         await InitializeUplayDb(File.OpenText(Properties.Settings.Default.UplayDbPath));
     }
     else
     {
         await InitializeUplayDb(new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream("Steam_Library_Manager.Resources.configurations"), Encoding.UTF8));
     }
 }
Exemple #2
0
 public override StreamReader OpenText(string path)
 {
     return(AfsFile.OpenText(path));
 }