Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into UIStuff
  • Loading branch information
joelweih committed Apr 17, 2021
2 parents e23619f + 56849c5 commit 59bf98e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ source/GuiVersion/obj/Release/net5.0-windows/AmongUsModUpdater.csprojAssemblyRef
/source/GuiVersion/AmongUsModUpdater.ModFunctions/obj/
/source/GuiVersion/AmongUsModUpdater.TheOtherRoles/obj/
/source/GuiVersion/WinForms.Logger/obj/

source/GuiVersion/AmongUsModUpdater/Properties/PublishProfiles/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LastSelectedProfileId>D:\Github\AmongUsModUpdater\source\GuiVersion\Properties\PublishProfiles\ClickOnceProfile.pubxml</_LastSelectedProfileId>
<_LastSelectedProfileId>D:\AmongUsModUpdater\source\GuiVersion\AmongUsModUpdater\Properties\PublishProfiles\ClickOnceProfile.pubxml</_LastSelectedProfileId>
</PropertyGroup>
<ItemGroup>
<Compile Update="CustomForms\CustomButton\CustomButton.cs">
Expand Down
10 changes: 8 additions & 2 deletions source/GuiVersion/AmongUsModUpdater/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,24 @@ public CustomTextBox.CustomTextBox SettingsGamePathTextBox
public MainWindow()
{
InitializeComponent();
initializeMainWindow();
}

private async void initializeMainWindow()
{

Logger.Log("Init", null);

//Demo
selectedMod = "The Other Roles";

menuPanels = new [] { panelHome, panelSettings, panelHelp};
menuPanels = new[] { panelHome, panelSettings, panelHelp };
menuButtons = new[] { homeButton, settingsButton, helpButton };

labelVersion.Text = "Among Us Mod Updater Version: " + Application.ProductVersion;
settingsGamePathTextBox.Text = Properties.Settings.Default.GamePath;

newVersionUrl = AmongUsModUpdater.AmongUsModUpdater.checkVersionsUpdate(this).ToString();
newVersionUrl = await AmongUsModUpdater.AmongUsModUpdater.checkVersionsUpdate(this);

if (Properties.Settings.Default.Backup == true)
{
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 59bf98e

Please sign in to comment.