uff, enough for now

This commit is contained in:
2025-06-30 18:55:30 +02:00
parent 6674872848
commit b1ac3cd73c
6 changed files with 1857 additions and 8 deletions

View File

@@ -34,6 +34,7 @@ namespace ModpackUpdater.Apps.Client
[DebuggerStepThrough()] [DebuggerStepThrough()]
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
RadLabel_MinecraftProfile = new Telerik.WinControls.UI.RadLabel(); RadLabel_MinecraftProfile = new Telerik.WinControls.UI.RadLabel();
RadLabel_ModpackUrl = new Telerik.WinControls.UI.RadLabel(); RadLabel_ModpackUrl = new Telerik.WinControls.UI.RadLabel();
RadTextBox_MinecraftProfileFolder = new Telerik.WinControls.UI.RadTextBoxControl(); RadTextBox_MinecraftProfileFolder = new Telerik.WinControls.UI.RadTextBoxControl();
@@ -242,6 +243,7 @@ namespace ModpackUpdater.Apps.Client
AutoSizeMode = AutoSizeMode.GrowAndShrink; AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(422, 173); ClientSize = new Size(422, 173);
Controls.Add(tableLayoutPanel1); Controls.Add(tableLayoutPanel1);
Icon = (Icon)resources.GetObject("$this.Icon");
MaximizeBox = false; MaximizeBox = false;
MinimumSize = new Size(430, 0); MinimumSize = new Size(430, 0);
Name = "MainForm"; Name = "MainForm";

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<!--<ApplicationIcon>minecraft modpack updater.ico</ApplicationIcon>--> <ApplicationIcon>minecraft modpack updater.ico</ApplicationIcon>
<AssemblyName>Minecraft Modpack Updater</AssemblyName> <AssemblyName>Minecraft Modpack Updater</AssemblyName>
<ImplicitUsings>true</ImplicitUsings> <ImplicitUsings>true</ImplicitUsings>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>

View File

@@ -26,8 +26,8 @@ public static class Program
static Program() static Program()
{ {
//settingsManager = new(GetSettingsPath(2), true); settingsManager = new(GetSettingsPath(2), true);
//MigrateLegacySettings(GetSettingsPath(null)); MigrateLegacySettings(GetSettingsPath(null));
} }
[STAThread] [STAThread]
@@ -40,8 +40,8 @@ public static class Program
InstallWithoutGui(Options.UpdateOptions, Options.Silent); InstallWithoutGui(Options.UpdateOptions, Options.Silent);
else else
{ {
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
// ShowWindow(GetConsoleWindow(), 0); ShowWindow(GetConsoleWindow(), 0);
RunApp(Options.UpdateOptions); RunApp(Options.UpdateOptions);
} }
} }
@@ -50,8 +50,7 @@ public static class Program
{ {
ApplicationConfiguration.Initialize(); ApplicationConfiguration.Initialize();
AppGlobals.Initialize(); AppGlobals.Initialize();
MessageBox.Show("TEST"); Application.Run(new MainForm(updateOptions));
//Application.Run(new MainForm(updateOptions));
} }
private static string GetSettingsPath(int? settingsVersion = 3) private static string GetSettingsPath(int? settingsVersion = 3)

View File

@@ -10,7 +10,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishProtocol>FileSystem</PublishProtocol> <PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId> <_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>false</SelfContained> <SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile> <PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun> <PublishReadyToRun>false</PublishReadyToRun>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 108 KiB