Skip to content

Commit c398486

Browse files
committed
1.5.10
[fix] Some UWP Apps arent't compatible and will be ignored at the moment, instead of raising an exception
1 parent 717f7b4 commit c398486

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

Source/Debug_Any/HDRProfile.exe

1.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.

Source/HDRProfile/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
5353
// indem Sie "*" wie unten gezeigt eingeben:
5454
// [assembly: AssemblyVersion("1.0.*")]
55-
[assembly: AssemblyVersion("1.5.9.0")]
56-
[assembly: AssemblyFileVersion("1.5.9.0")]
55+
[assembly: AssemblyVersion("1.5.10.0")]
56+
[assembly: AssemblyFileVersion("1.5.10.0")]

Source/HDRProfile/UWP/UWPApp.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ namespace HDRProfile.UWP
1111
{
1212
public class UWPApp
1313
{
14-
public string Name { get; private set; }
15-
public string Executable { get; private set; }
16-
public string InstallLocation { get; private set; }
14+
public string Name { get; private set; } = string.Empty;
15+
public string Executable { get; private set; } = string.Empty;
16+
public string InstallLocation { get; private set; } = string.Empty;
1717

1818

1919
public UWPApp(string installLocation)
@@ -42,8 +42,10 @@ private void ReadAppxManifest()
4242
}
4343
catch (Exception ex)
4444
{
45-
Tools.Logs.Add($"Error while retrieving UWP app ({appxManifestPath}). Exception: {ex}",false);
46-
throw ex;
45+
string manifestContent = string.Empty;
46+
if (File.Exists(appxManifestPath))
47+
manifestContent = File.ReadAllText(appxManifestPath);
48+
Tools.Logs.Add($"Error while retrieving UWP app ({appxManifestPath})\r\n\r\nContent: {manifestContent}.\r\n\r\n Exception: {ex}",false);
4749
}
4850
}
4951

Source/Release_Any/HDRProfile.exe

0 Bytes
Binary file not shown.

Source/Release_Any/Release_Any.zip

1.19 MB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)