1
0
mirror of synced 2024-12-02 19:17:24 +01:00

Enable updater

This commit is contained in:
KillzXGaming 2019-03-23 13:55:12 -04:00
parent c8b1d71875
commit 822a4c699e
12 changed files with 13400 additions and 34 deletions

Binary file not shown.

View File

@ -266,8 +266,6 @@ namespace FirstPlugin
KCLRendering Renderer; KCLRendering Renderer;
bool IsLoaded = false; bool IsLoaded = false;
public override void OnClick(TreeView treeView) public override void OnClick(TreeView treeView)
{
if (!Runtime.DisableViewport)
{ {
Viewport editor = (Viewport)LibraryGUI.Instance.GetActiveContent(typeof(Viewport)); Viewport editor = (Viewport)LibraryGUI.Instance.GetActiveContent(typeof(Viewport));
@ -285,10 +283,8 @@ namespace FirstPlugin
editor.LoadObjects(); editor.LoadObjects();
} }
IsLoaded = true; IsLoaded = true;
} }
}
public MarioKart.MK7.KCL kcl = null; public MarioKart.MK7.KCL kcl = null;
public void Read(byte[] file_data) public void Read(byte[] file_data)

View File

@ -111,12 +111,9 @@ namespace Toolbox
} }
#region Updater #region Updater
bool UpdatePromptShown = false;
private void Application_Idle(object sender, EventArgs e) private void Application_Idle(object sender, EventArgs e)
{ {
if (UpdateProgram.CanUpdate && !Runtime.EnableVersionCheck) if (UpdateProgram.CanUpdate && !Runtime.EnableVersionCheck)
{
if (!UpdatePromptShown)
{ {
//Prompt once for the user to update the tool. //Prompt once for the user to update the tool.
UpdatePromptShown = true; UpdatePromptShown = true;
@ -132,7 +129,6 @@ namespace Toolbox
} }
} }
} }
}
private void UpdateApplication() private void UpdateApplication()
{ {
//Start updating while program is closed //Start updating while program is closed

View File

@ -1,3 +1,3 @@
v1.0 BETA v1.0 r1 BETA EXPERIMENTAL
3/23/2019 1:40:02 PM +00:00 3/23/2019 1:40:02 PM +00:00
master master

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff