diff --git a/src/Backend/Common/ModInstallerCommon.cs b/src/Backend/Common/ModInstallerCommon.cs
index 971913b..908f8eb 100644
--- a/src/Backend/Common/ModInstallerCommon.cs
+++ b/src/Backend/Common/ModInstallerCommon.cs
@@ -33,7 +33,7 @@ public class ModInstallerCommon
///
/// Current version.
///
- public static Version ModInstallerVersion = new(1, 0, 1);
+ public static Version ModInstallerVersion = new(1, 0, 2);
///
diff --git a/src/Backend/JSON/Database/modinstallerinfo.h3vrmi b/src/Backend/JSON/Database/modinstallerinfo.h3vrmi
index 22aba39..323160c 100644
--- a/src/Backend/JSON/Database/modinstallerinfo.h3vrmi
+++ b/src/Backend/JSON/Database/modinstallerinfo.h3vrmi
@@ -3,7 +3,7 @@
{
"modID": "uniqueidmodinstaller",
"Name": "H3VRModInstaller",
- "Version": "1.0.1",
+ "Version": "1.0.2",
"Description": "Hey! This thingy here is just to know what is the newest version of H3VRMI.",
"Website": "https://github.com/Frityet/H3VRModInstaller",
"Dependencies": [
diff --git a/src/Form1.Designer.cs b/src/Form1.Designer.cs
index 94bb58c..29f2659 100644
--- a/src/Form1.Designer.cs
+++ b/src/Form1.Designer.cs
@@ -46,8 +46,6 @@ private void InitializeComponent()
this.ModAuthor = new System.Windows.Forms.ColumnHeader();
this.CatagoriesComboBox = new System.Windows.Forms.ComboBox();
this.modlisttext = new System.Windows.Forms.Label();
- this.launch = new System.Windows.Forms.Button();
- this.ModsEnabled = new System.Windows.Forms.CheckBox();
this.ControlPanel = new System.Windows.Forms.Panel();
this.CheckButton = new System.Windows.Forms.Button();
this.ModVer = new System.Windows.Forms.Label();
@@ -76,10 +74,10 @@ private void InitializeComponent()
this.ModList.BackColor = System.Drawing.Color.FromArgb(((int) (((byte) (224)))), ((int) (((byte) (224)))), ((int) (((byte) (224)))));
this.ModList.Controls.Add(this.tabControl1);
this.ModList.Controls.Add(this.modlisttext);
- this.ModList.Location = new System.Drawing.Point(24, 20);
- this.ModList.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.ModList.Location = new System.Drawing.Point(12, 10);
+ this.ModList.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.ModList.Name = "ModList";
- this.ModList.Size = new System.Drawing.Size(782, 923);
+ this.ModList.Size = new System.Drawing.Size(391, 480);
this.ModList.TabIndex = 0;
this.ModList.Paint += new System.Windows.Forms.PaintEventHandler(this.ModList_Paint);
//
@@ -88,21 +86,21 @@ private void InitializeComponent()
this.tabControl1.Controls.Add(this.TabPageInstalled);
this.tabControl1.Controls.Add(this.TabPageAvailable);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControl1.Location = new System.Drawing.Point(0, 128);
- this.tabControl1.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.tabControl1.Location = new System.Drawing.Point(0, 65);
+ this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(782, 795);
+ this.tabControl1.Size = new System.Drawing.Size(391, 415);
this.tabControl1.TabIndex = 11;
//
// TabPageInstalled
//
this.TabPageInstalled.Controls.Add(this.InstalledModsList);
- this.TabPageInstalled.Location = new System.Drawing.Point(8, 39);
- this.TabPageInstalled.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.TabPageInstalled.Location = new System.Drawing.Point(4, 22);
+ this.TabPageInstalled.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.TabPageInstalled.Name = "TabPageInstalled";
- this.TabPageInstalled.Padding = new System.Windows.Forms.Padding(7, 5, 7, 5);
- this.TabPageInstalled.Size = new System.Drawing.Size(766, 748);
+ this.TabPageInstalled.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.TabPageInstalled.Size = new System.Drawing.Size(383, 389);
this.TabPageInstalled.TabIndex = 0;
this.TabPageInstalled.Text = "Installed Mods";
this.TabPageInstalled.UseVisualStyleBackColor = true;
@@ -114,10 +112,10 @@ private void InitializeComponent()
this.InstalledModsList.FullRowSelect = true;
this.InstalledModsList.GridLines = true;
this.InstalledModsList.HideSelection = false;
- this.InstalledModsList.Location = new System.Drawing.Point(7, 5);
- this.InstalledModsList.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.InstalledModsList.Location = new System.Drawing.Point(4, 3);
+ this.InstalledModsList.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.InstalledModsList.Name = "InstalledModsList";
- this.InstalledModsList.Size = new System.Drawing.Size(752, 738);
+ this.InstalledModsList.Size = new System.Drawing.Size(375, 383);
this.InstalledModsList.Sorting = System.Windows.Forms.SortOrder.Ascending;
this.InstalledModsList.TabIndex = 7;
this.InstalledModsList.UseCompatibleStateImageBehavior = false;
@@ -146,11 +144,11 @@ private void InitializeComponent()
//
this.TabPageAvailable.Controls.Add(this.DownloadableModsList);
this.TabPageAvailable.Controls.Add(this.CatagoriesComboBox);
- this.TabPageAvailable.Location = new System.Drawing.Point(8, 39);
- this.TabPageAvailable.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.TabPageAvailable.Location = new System.Drawing.Point(4, 22);
+ this.TabPageAvailable.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.TabPageAvailable.Name = "TabPageAvailable";
- this.TabPageAvailable.Padding = new System.Windows.Forms.Padding(7, 5, 7, 5);
- this.TabPageAvailable.Size = new System.Drawing.Size(766, 663);
+ this.TabPageAvailable.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.TabPageAvailable.Size = new System.Drawing.Size(383, 389);
this.TabPageAvailable.TabIndex = 1;
this.TabPageAvailable.Text = "Downloadable Mods";
this.TabPageAvailable.UseVisualStyleBackColor = true;
@@ -162,10 +160,10 @@ private void InitializeComponent()
this.DownloadableModsList.FullRowSelect = true;
this.DownloadableModsList.GridLines = true;
this.DownloadableModsList.HideSelection = false;
- this.DownloadableModsList.Location = new System.Drawing.Point(7, 38);
- this.DownloadableModsList.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.DownloadableModsList.Location = new System.Drawing.Point(4, 24);
+ this.DownloadableModsList.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.DownloadableModsList.Name = "DownloadableModsList";
- this.DownloadableModsList.Size = new System.Drawing.Size(752, 620);
+ this.DownloadableModsList.Size = new System.Drawing.Size(375, 362);
this.DownloadableModsList.TabIndex = 6;
this.DownloadableModsList.UseCompatibleStateImageBehavior = false;
this.DownloadableModsList.View = System.Windows.Forms.View.Details;
@@ -193,10 +191,10 @@ private void InitializeComponent()
//
this.CatagoriesComboBox.Dock = System.Windows.Forms.DockStyle.Top;
this.CatagoriesComboBox.FormattingEnabled = true;
- this.CatagoriesComboBox.Location = new System.Drawing.Point(7, 5);
- this.CatagoriesComboBox.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.CatagoriesComboBox.Location = new System.Drawing.Point(4, 3);
+ this.CatagoriesComboBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.CatagoriesComboBox.Name = "CatagoriesComboBox";
- this.CatagoriesComboBox.Size = new System.Drawing.Size(752, 33);
+ this.CatagoriesComboBox.Size = new System.Drawing.Size(375, 21);
this.CatagoriesComboBox.TabIndex = 10;
this.CatagoriesComboBox.SelectedIndexChanged += new System.EventHandler(this.CatagoriesComboBox_SelectedIndexChanged);
//
@@ -206,38 +204,14 @@ private void InitializeComponent()
this.modlisttext.Dock = System.Windows.Forms.DockStyle.Top;
this.modlisttext.Font = new System.Drawing.Font("Segoe UI", 36F);
this.modlisttext.Location = new System.Drawing.Point(0, 0);
- this.modlisttext.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.modlisttext.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.modlisttext.Name = "modlisttext";
- this.modlisttext.Size = new System.Drawing.Size(294, 128);
+ this.modlisttext.Size = new System.Drawing.Size(147, 65);
this.modlisttext.TabIndex = 0;
this.modlisttext.Text = "Mods";
this.modlisttext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.modlisttext.Click += new System.EventHandler(this.label1_Click);
//
- // launch
- //
- this.launch.Location = new System.Drawing.Point(1006, 860);
- this.launch.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
- this.launch.Name = "launch";
- this.launch.Size = new System.Drawing.Size(437, 83);
- this.launch.TabIndex = 1;
- this.launch.Text = "Launch H3VR";
- this.launch.UseVisualStyleBackColor = true;
- this.launch.Click += new System.EventHandler(this.launch_Click);
- //
- // ModsEnabled
- //
- this.ModsEnabled.AutoSize = true;
- this.ModsEnabled.Font = new System.Drawing.Font("Segoe UI", 8.25F);
- this.ModsEnabled.Location = new System.Drawing.Point(1457, 897);
- this.ModsEnabled.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
- this.ModsEnabled.Name = "ModsEnabled";
- this.ModsEnabled.Size = new System.Drawing.Size(193, 34);
- this.ModsEnabled.TabIndex = 2;
- this.ModsEnabled.Text = "Mods Enabled?";
- this.ModsEnabled.UseVisualStyleBackColor = true;
- this.ModsEnabled.CheckedChanged += new System.EventHandler(this.ModsEnabled_CheckedChanged);
- //
// ControlPanel
//
this.ControlPanel.BackColor = System.Drawing.Color.FromArgb(((int) (((byte) (224)))), ((int) (((byte) (224)))), ((int) (((byte) (224)))));
@@ -248,21 +222,21 @@ private void InitializeComponent()
this.ControlPanel.Controls.Add(this.UpdateButton);
this.ControlPanel.Controls.Add(this.InstallButton);
this.ControlPanel.Controls.Add(this.SelectedModText);
- this.ControlPanel.Location = new System.Drawing.Point(818, 20);
- this.ControlPanel.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.ControlPanel.Location = new System.Drawing.Point(409, 10);
+ this.ControlPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.ControlPanel.Name = "ControlPanel";
- this.ControlPanel.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
- this.ControlPanel.Size = new System.Drawing.Size(819, 830);
+ this.ControlPanel.Padding = new System.Windows.Forms.Padding(2);
+ this.ControlPanel.Size = new System.Drawing.Size(410, 432);
this.ControlPanel.TabIndex = 3;
//
// CheckButton
//
this.CheckButton.BackColor = System.Drawing.Color.White;
this.CheckButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
- this.CheckButton.Location = new System.Drawing.Point(425, 125);
- this.CheckButton.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.CheckButton.Location = new System.Drawing.Point(212, 65);
+ this.CheckButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.CheckButton.Name = "CheckButton";
- this.CheckButton.Size = new System.Drawing.Size(386, 50);
+ this.CheckButton.Size = new System.Drawing.Size(193, 26);
this.CheckButton.TabIndex = 6;
this.CheckButton.Text = "Website";
this.CheckButton.UseVisualStyleBackColor = false;
@@ -271,10 +245,10 @@ private void InitializeComponent()
// ModVer
//
this.ModVer.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold);
- this.ModVer.Location = new System.Drawing.Point(10, 62);
- this.ModVer.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.ModVer.Location = new System.Drawing.Point(5, 32);
+ this.ModVer.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.ModVer.Name = "ModVer";
- this.ModVer.Size = new System.Drawing.Size(801, 50);
+ this.ModVer.Size = new System.Drawing.Size(400, 26);
this.ModVer.TabIndex = 5;
this.ModVer.Text = "Mod Information";
this.ModVer.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -284,29 +258,29 @@ private void InitializeComponent()
this.InfoPanel.BackColor = System.Drawing.Color.White;
this.InfoPanel.Controls.Add(this.ModInfo);
this.InfoPanel.Controls.Add(this.ModInformationLabel);
- this.InfoPanel.Location = new System.Drawing.Point(10, 245);
- this.InfoPanel.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.InfoPanel.Location = new System.Drawing.Point(5, 127);
+ this.InfoPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.InfoPanel.Name = "InfoPanel";
- this.InfoPanel.Size = new System.Drawing.Size(801, 572);
+ this.InfoPanel.Size = new System.Drawing.Size(400, 297);
this.InfoPanel.TabIndex = 4;
this.InfoPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.InfoPanel_Paint);
//
// ModInfo
//
- this.ModInfo.Location = new System.Drawing.Point(0, 37);
- this.ModInfo.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.ModInfo.Location = new System.Drawing.Point(0, 19);
+ this.ModInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.ModInfo.Name = "ModInfo";
- this.ModInfo.Size = new System.Drawing.Size(801, 525);
+ this.ModInfo.Size = new System.Drawing.Size(400, 273);
this.ModInfo.TabIndex = 1;
this.ModInfo.Text = "Mod Info Here!";
//
// ModInformationLabel
//
this.ModInformationLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold);
- this.ModInformationLabel.Location = new System.Drawing.Point(250, -5);
- this.ModInformationLabel.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.ModInformationLabel.Location = new System.Drawing.Point(125, -3);
+ this.ModInformationLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.ModInformationLabel.Name = "ModInformationLabel";
- this.ModInformationLabel.Size = new System.Drawing.Size(266, 42);
+ this.ModInformationLabel.Size = new System.Drawing.Size(133, 22);
this.ModInformationLabel.TabIndex = 0;
this.ModInformationLabel.Text = "Mod Information";
this.ModInformationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -315,10 +289,10 @@ private void InitializeComponent()
//
this.Delete.BackColor = System.Drawing.Color.White;
this.Delete.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
- this.Delete.Location = new System.Drawing.Point(10, 185);
- this.Delete.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.Delete.Location = new System.Drawing.Point(5, 96);
+ this.Delete.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.Delete.Name = "Delete";
- this.Delete.Size = new System.Drawing.Size(801, 50);
+ this.Delete.Size = new System.Drawing.Size(400, 26);
this.Delete.TabIndex = 3;
this.Delete.Text = "Delete";
this.Delete.UseVisualStyleBackColor = false;
@@ -328,10 +302,10 @@ private void InitializeComponent()
//
this.UpdateButton.BackColor = System.Drawing.Color.White;
this.UpdateButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
- this.UpdateButton.Location = new System.Drawing.Point(10, 123);
- this.UpdateButton.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.UpdateButton.Location = new System.Drawing.Point(5, 64);
+ this.UpdateButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.UpdateButton.Name = "UpdateButton";
- this.UpdateButton.Size = new System.Drawing.Size(377, 50);
+ this.UpdateButton.Size = new System.Drawing.Size(188, 26);
this.UpdateButton.TabIndex = 2;
this.UpdateButton.Text = "Update";
this.UpdateButton.UseVisualStyleBackColor = false;
@@ -341,10 +315,10 @@ private void InitializeComponent()
//
this.InstallButton.BackColor = System.Drawing.Color.White;
this.InstallButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
- this.InstallButton.Location = new System.Drawing.Point(10, 62);
- this.InstallButton.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.InstallButton.Location = new System.Drawing.Point(5, 32);
+ this.InstallButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.InstallButton.Name = "InstallButton";
- this.InstallButton.Size = new System.Drawing.Size(801, 50);
+ this.InstallButton.Size = new System.Drawing.Size(400, 26);
this.InstallButton.TabIndex = 1;
this.InstallButton.Text = "Install";
this.InstallButton.UseVisualStyleBackColor = false;
@@ -353,10 +327,10 @@ private void InitializeComponent()
// SelectedModText
//
this.SelectedModText.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
- this.SelectedModText.Location = new System.Drawing.Point(10, 0);
- this.SelectedModText.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.SelectedModText.Location = new System.Drawing.Point(5, 0);
+ this.SelectedModText.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.SelectedModText.Name = "SelectedModText";
- this.SelectedModText.Size = new System.Drawing.Size(801, 62);
+ this.SelectedModText.Size = new System.Drawing.Size(400, 32);
this.SelectedModText.TabIndex = 0;
this.SelectedModText.Text = "Selected Mod: ";
this.SelectedModText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -365,20 +339,20 @@ private void InitializeComponent()
//
this.ProgressPanel.BackColor = System.Drawing.Color.FromArgb(((int) (((byte) (224)))), ((int) (((byte) (224)))), ((int) (((byte) (224)))));
this.ProgressPanel.Controls.Add(this.StatusReport);
- this.ProgressPanel.Location = new System.Drawing.Point(818, 860);
- this.ProgressPanel.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.ProgressPanel.Location = new System.Drawing.Point(409, 447);
+ this.ProgressPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.ProgressPanel.Name = "ProgressPanel";
- this.ProgressPanel.Size = new System.Drawing.Size(161, 80);
+ this.ProgressPanel.Size = new System.Drawing.Size(410, 42);
this.ProgressPanel.TabIndex = 4;
//
// StatusReport
//
this.StatusReport.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.StatusReport.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.StatusReport.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
this.StatusReport.Location = new System.Drawing.Point(0, 0);
- this.StatusReport.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
+ this.StatusReport.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.StatusReport.Name = "StatusReport";
- this.StatusReport.Size = new System.Drawing.Size(160, 79);
+ this.StatusReport.Size = new System.Drawing.Size(410, 42);
this.StatusReport.TabIndex = 7;
this.StatusReport.Text = "Idle";
this.StatusReport.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -395,21 +369,19 @@ private void InitializeComponent()
//
this.CatagoryDropDown.Location = new System.Drawing.Point(0, 0);
this.CatagoryDropDown.Name = "CatagoryDropDown";
- this.CatagoryDropDown.Size = new System.Drawing.Size(121, 33);
+ this.CatagoryDropDown.Size = new System.Drawing.Size(121, 21);
this.CatagoryDropDown.TabIndex = 0;
//
// mainwindow
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1659, 963);
+ this.ClientSize = new System.Drawing.Size(830, 501);
this.Controls.Add(this.ProgressPanel);
this.Controls.Add(this.ControlPanel);
- this.Controls.Add(this.ModsEnabled);
- this.Controls.Add(this.launch);
this.Controls.Add(this.ModList);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.Margin = new System.Windows.Forms.Padding(7, 5, 7, 5);
+ this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.MaximizeBox = false;
this.Name = "mainwindow";
this.Text = "H3VR Mod Installer";
@@ -423,7 +395,6 @@ private void InitializeComponent()
this.InfoPanel.ResumeLayout(false);
this.ProgressPanel.ResumeLayout(false);
this.ResumeLayout(false);
- this.PerformLayout();
}
private System.Windows.Forms.TabControl tabControl1;
@@ -451,8 +422,6 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.Panel ModList;
- private System.Windows.Forms.Button launch;
- private System.Windows.Forms.CheckBox ModsEnabled;
private System.Windows.Forms.Panel ControlPanel;
private System.Windows.Forms.Label modlisttext;
private System.Windows.Forms.Panel ProgressPanel;
diff --git a/src/Form1.cs b/src/Form1.cs
index 11b2861..011e218 100644
--- a/src/Form1.cs
+++ b/src/Form1.cs
@@ -91,32 +91,7 @@ private void DownloadableModsLabel_Click(object sender, EventArgs e)
{
}
- private void launch_Click(object sender, EventArgs e)
- {
- var winHttpEnabled = Path.Combine(Utilities.GameDirectoryOrThrow, GuiCommon.Files.EnabledName);
- var winHttpDisabled = Path.Combine(Utilities.GameDirectoryOrThrow, GuiCommon.Files.DisabledName);
-
- if (ModsEnabled.Checked)
- if (File.Exists(winHttpDisabled))
- File.Move(winHttpDisabled, winHttpEnabled);
- else
- File.Move(winHttpEnabled, winHttpDisabled);
-
- MessageBox.Show("Starting H3VR!","Game starting", MessageBoxButtons.OK, MessageBoxIcon.Information);
- try
- {
- var proc = new ProcessStartInfo("cmd", "/C start " + ModInstallerCommon.Files.H3VRSteamLoc)
- { CreateNoWindow = true };
- Process.Start(proc);
- }
- catch (Exception exception)
- {
- MessageBox.Show("Error launching H3VR!\nSteam possibly not detected!");
- throw;
- }
- }
-
- void Form_KeyDown(object sender, KeyEventArgs e)
+ void Form_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.KeyCode == Keys.R)
{
@@ -174,8 +149,6 @@ private void LoadGUI(object sender, EventArgs e)
ModVer.Hide();
Delete.Hide();
CheckButton.Hide();
-
- ModsEnabled.Checked = true;
UpdateModList();
UpdateCatagories();