mirror of
https://github.com/EverythingWindows/ShiftOS-TheRevival-Old.git
synced 2025-01-23 02:12:14 +00:00
New branch, disabling Story Mode and Updater
This commit is contained in:
parent
38e046cc49
commit
a46bcc0595
2 changed files with 3 additions and 2 deletions
|
@ -86,6 +86,7 @@ Partial Class ShiftOSMenu
|
||||||
'
|
'
|
||||||
'btn_StoryMode
|
'btn_StoryMode
|
||||||
'
|
'
|
||||||
|
Me.btn_StoryMode.Enabled = False
|
||||||
Me.btn_StoryMode.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
Me.btn_StoryMode.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
Me.btn_StoryMode.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
Me.btn_StoryMode.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
Me.btn_StoryMode.ForeColor = System.Drawing.Color.White
|
Me.btn_StoryMode.ForeColor = System.Drawing.Color.White
|
||||||
|
|
|
@ -155,7 +155,7 @@ Public Class ShiftOSMenu
|
||||||
End If
|
End If
|
||||||
If TheUpdater.WhatVersion = My.Resources.CurrentVersion Then
|
If TheUpdater.WhatVersion = My.Resources.CurrentVersion Then
|
||||||
File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
|
File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
|
||||||
CheckUpdate()
|
'CheckUpdate()
|
||||||
Else
|
Else
|
||||||
btn_Aboot.Enabled = False
|
btn_Aboot.Enabled = False
|
||||||
btn_Exit.Enabled = False
|
btn_Exit.Enabled = False
|
||||||
|
@ -191,7 +191,7 @@ Public Class ShiftOSMenu
|
||||||
Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\saved")
|
Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\saved")
|
||||||
File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
|
File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
|
||||||
End If
|
End If
|
||||||
CheckUpdate()
|
'CheckUpdate()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue