v4.9.6
- Fixed Ubisoft game gathering - Minor refactoring
This commit is contained in:
parent
e422f558f4
commit
5f6ba03294
3 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
<TargetFramework>net7.0-windows</TargetFramework>
|
<TargetFramework>net7.0-windows</TargetFramework>
|
||||||
<UseWindowsForms>True</UseWindowsForms>
|
<UseWindowsForms>True</UseWindowsForms>
|
||||||
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
|
||||||
<Version>4.9.5</Version>
|
<Version>4.9.6</Version>
|
||||||
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>
|
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>
|
||||||
<Company>CreamInstaller</Company>
|
<Company>CreamInstaller</Company>
|
||||||
<Product>Automatic DLC Unlocker Installer & Configuration Generator</Product>
|
<Product>Automatic DLC Unlocker Installer & Configuration Generator</Product>
|
||||||
|
|
|
@ -15,7 +15,7 @@ internal static class UbisoftLibrary
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
installsKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Ubisoft\Launcher\Installs");
|
installsKey ??= Registry.LocalMachine.OpenSubKey(@"SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs");
|
||||||
return installsKey;
|
return installsKey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using CreamInstaller.Forms;
|
using CreamInstaller.Forms;
|
||||||
|
@ -21,7 +22,7 @@ internal static class ExceptionHandler
|
||||||
string[] stackTrace = e.StackTrace?.Split('\n');
|
string[] stackTrace = e.StackTrace?.Split('\n');
|
||||||
if (stackTrace is not null && stackTrace.Length > 0)
|
if (stackTrace is not null && stackTrace.Length > 0)
|
||||||
{
|
{
|
||||||
_ = output.Append($"[{e.HResult & 0x0000FFFF}] {e.GetType()}: {e.Message}");
|
_ = output.Append(CultureInfo.CurrentCulture, $"[{e.HResult & 0x0000FFFF}] {e.GetType()}: {e.Message}");
|
||||||
foreach (string line in stackTrace)
|
foreach (string line in stackTrace)
|
||||||
{
|
{
|
||||||
int atNum = line.IndexOf("at ", StringComparison.Ordinal);
|
int atNum = line.IndexOf("at ", StringComparison.Ordinal);
|
||||||
|
|
Loading…
Reference in a new issue