Skip to content

Commit

Permalink
Release 1.4.20230111.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BuIlDaLiBlE committed Jan 11, 2023
1 parent fa67b26 commit b24edf9
Show file tree
Hide file tree
Showing 14 changed files with 700 additions and 363 deletions.
9 changes: 5 additions & 4 deletions App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,23 @@ namespace BetterHI3Launcher
{
public partial class App : Application
{
public static readonly LauncherVersion LocalLauncherVersion = new LauncherVersion("1.3.20221030.0");
public static readonly LauncherVersion LocalLauncherVersion = new LauncherVersion("1.4.20230111.0");
public static readonly string LauncherRootPath = AppDomain.CurrentDomain.BaseDirectory;
public static readonly string LocalLowPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}Low";
public static readonly string LauncherDataPath = Path.Combine(LocalLowPath, @"Bp\Better HI3 Launcher");
public static readonly string LauncherBackgroundsPath = Path.Combine(LauncherDataPath, "Backgrounds");
public static readonly string LauncherLogFile = Path.Combine(LauncherDataPath, "BetterHI3Launcher-latest.log");
public static readonly string LauncherTranslationsFile = Path.Combine(LauncherDataPath, "BetterHI3Launcher-translations.json");
public static string UserAgent = $"BetterHI3Launcher v{LocalLauncherVersion}";
public static string UserAgent = $"BetterHI3Launcher/v{LocalLauncherVersion}";
public static List<string> UserAgentComment = new List<string>();
public static string LauncherExeName, LauncherPath, LauncherArchivePath, LauncherLanguage;
public static readonly string OSVersion = BpUtility.GetWindowsVersion();
public static readonly string OSLanguage = CultureInfo.CurrentUICulture.ToString();
public static string[] CommandLineArgs = Environment.GetCommandLineArgs();
public static List<string> SeenAnnouncements = new List<string>();
public static JArray Announcements = new JArray();
public static RegistryKey LauncherRegKey = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\Bp\Better HI3 Launcher");
public static bool DisableAutoUpdate, DisableLogging, DisableTranslations, DisableSounds, AdvancedFeatures, NeedsUpdate, UseLegacyDownload;
public static bool DisableAutoUpdate, DisableLogging, DisableTranslations, DisableSounds, AdvancedFeatures, NeedsUpdate;
public static bool FirstLaunch = LauncherRegKey.GetValue("LauncherVersion") == null ? true : false;
public static bool Starting = true;
public static readonly int ParallelDownloadSessions = 4;
Expand Down Expand Up @@ -61,7 +62,7 @@ protected override void OnStartup(StartupEventArgs e)
CultureInfo.DefaultThreadCurrentUICulture = culture;
#if DEBUG
WinConsole.Initialize();
UserAgent += " [DEBUG]";
UserAgentComment.Add("DEBUG");
#endif
TextStrings_English();
switch(OSLanguage)
Expand Down
24 changes: 16 additions & 8 deletions BetterHI3Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,24 @@
<Compile Include="Modules\LegacyBox.cs" />
<Compile Include="Modules\Shared.cs" />
<Compile Include="Utility\DownloadProgressEvents.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Attribute.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Event.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Event\DownloadLogEvent.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Event\Enums.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Exception.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\IO.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Merge.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Thread.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Attributes\Attributes.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Attributes\AttributesSize.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Event\DownloadEvent.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Event\Event.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\Session.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\SessionManager.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\SessionMerge.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\SessionMetadata.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\SessionTask.cs" />
<Compile Include="Utility\Hi3Helper.Http\Class\Session\SessionVerification.cs" />
<Compile Include="Utility\Hi3Helper.Http\Http.cs" />
<Compile Include="Utility\Hi3Helper.Http\HttpMultisession.cs" />
<Compile Include="Utility\miHoYoCRCUtility.cs" />
<Compile Include="Utility\Hi3Helper.Http\HttpMulti.cs" />
<Compile Include="Utility\Hi3Helper.EncTool\mhyEncTool.cs" />
<Compile Include="Utility\Hi3Helper.EncTool\XORFileStream.cs" />
<Compile Include="Utility\PartialZip\Exceptions\PartialZipFileNotFoundException.cs" />
<Compile Include="Utility\PartialZip\Exceptions\PartialZipNotSupportedException.cs" />
<Compile Include="Utility\PartialZip\Exceptions\PartialZipParsingException.cs" />
Expand Down Expand Up @@ -255,7 +263,7 @@
<Version>2.5.2</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.Platforms">
<Version>6.0.6</Version>
<Version>6.0.7</Version>
</PackageReference>
<PackageReference Include="NETStandard.Library">
<Version>2.0.3</Version>
Expand Down
Loading

0 comments on commit b24edf9

Please sign in to comment.