From a46bcc05957640f968cb98571003c02fef2e74c8 Mon Sep 17 00:00:00 2001 From: Everything Windows Date: Tue, 16 Jan 2024 19:54:03 +0700 Subject: [PATCH] New branch, disabling Story Mode and Updater --- ShiftOS-TheRevival/MainForms/ShiftOSMenu.Designer.vb | 1 + ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.Designer.vb b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.Designer.vb index 3414552..c647964 100644 --- a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.Designer.vb +++ b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.Designer.vb @@ -86,6 +86,7 @@ Partial Class ShiftOSMenu ' 'btn_StoryMode ' + Me.btn_StoryMode.Enabled = False Me.btn_StoryMode.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btn_StoryMode.Font = New System.Drawing.Font("Segoe UI", 8.25!) Me.btn_StoryMode.ForeColor = System.Drawing.Color.White diff --git a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb index 2ae60a2..a1b8eca 100644 --- a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb +++ b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb @@ -155,7 +155,7 @@ Public Class ShiftOSMenu End If If TheUpdater.WhatVersion = My.Resources.CurrentVersion Then File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion) - CheckUpdate() + 'CheckUpdate() Else btn_Aboot.Enabled = False btn_Exit.Enabled = False @@ -191,7 +191,7 @@ Public Class ShiftOSMenu Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\saved") File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion) End If - CheckUpdate() + 'CheckUpdate() End If End Sub