New branch, disabling Story Mode and Updater

This commit is contained in:
Everything Windows 2024-01-16 19:54:03 +07:00
parent 38e046cc49
commit a46bcc0595
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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