uff, enough for now
This commit is contained in:
2
ModpackUpdater.Apps.Client/MainForm.Designer.cs
generated
2
ModpackUpdater.Apps.Client/MainForm.Designer.cs
generated
@@ -34,6 +34,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
[DebuggerStepThrough()]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
RadLabel_MinecraftProfile = new Telerik.WinControls.UI.RadLabel();
|
||||
RadLabel_ModpackUrl = new Telerik.WinControls.UI.RadLabel();
|
||||
RadTextBox_MinecraftProfileFolder = new Telerik.WinControls.UI.RadTextBoxControl();
|
||||
@@ -242,6 +243,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||
ClientSize = new Size(422, 173);
|
||||
Controls.Add(tableLayoutPanel1);
|
||||
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||
MaximizeBox = false;
|
||||
MinimumSize = new Size(430, 0);
|
||||
Name = "MainForm";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<!--<ApplicationIcon>minecraft modpack updater.ico</ApplicationIcon>-->
|
||||
<ApplicationIcon>minecraft modpack updater.ico</ApplicationIcon>
|
||||
<AssemblyName>Minecraft Modpack Updater</AssemblyName>
|
||||
<ImplicitUsings>true</ImplicitUsings>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
|
||||
@@ -26,8 +26,8 @@ public static class Program
|
||||
|
||||
static Program()
|
||||
{
|
||||
//settingsManager = new(GetSettingsPath(2), true);
|
||||
//MigrateLegacySettings(GetSettingsPath(null));
|
||||
settingsManager = new(GetSettingsPath(2), true);
|
||||
MigrateLegacySettings(GetSettingsPath(null));
|
||||
}
|
||||
|
||||
[STAThread]
|
||||
@@ -40,8 +40,8 @@ public static class Program
|
||||
InstallWithoutGui(Options.UpdateOptions, Options.Silent);
|
||||
else
|
||||
{
|
||||
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
// ShowWindow(GetConsoleWindow(), 0);
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
ShowWindow(GetConsoleWindow(), 0);
|
||||
RunApp(Options.UpdateOptions);
|
||||
}
|
||||
}
|
||||
@@ -50,8 +50,7 @@ public static class Program
|
||||
{
|
||||
ApplicationConfiguration.Initialize();
|
||||
AppGlobals.Initialize();
|
||||
MessageBox.Show("TEST");
|
||||
//Application.Run(new MainForm(updateOptions));
|
||||
Application.Run(new MainForm(updateOptions));
|
||||
}
|
||||
|
||||
private static string GetSettingsPath(int? settingsVersion = 3)
|
||||
|
||||
@@ -10,7 +10,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 108 KiB |
Reference in New Issue
Block a user