aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb
diff options
context:
space:
mode:
authorEverything Windows <[email protected]>2024-01-16 20:06:03 +0700
committerEverything Windows <[email protected]>2024-01-16 20:06:03 +0700
commit540a9218830989293f0e5550235742fe3a6cc05e (patch)
treefa2944052c7a03be7ba3d41a3c24670039d46918 /ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb
parenta46bcc05957640f968cb98571003c02fef2e74c8 (diff)
downloadshiftos-therevival-old-540a9218830989293f0e5550235742fe3a6cc05e.tar.gz
shiftos-therevival-old-540a9218830989293f0e5550235742fe3a6cc05e.tar.bz2
shiftos-therevival-old-540a9218830989293f0e5550235742fe3a6cc05e.zip
Disabling local updater
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb')
-rw-r--r--ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb38
1 files changed, 19 insertions, 19 deletions
diff --git a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb
index a1b8eca..762c95d 100644
--- a/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb
+++ b/ShiftOS-TheRevival/MainForms/ShiftOSMenu.vb
@@ -148,25 +148,25 @@ Public Class ShiftOSMenu
Private Sub CheckInstall()
If Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\ShiftFS") = True Then
Dim CurrentVersion As String = My.Resources.CurrentVersion
- If File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt") = True Then
- TheUpdater.WhatVersion = File.ReadAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt")
- Else
- TheUpdater.WhatVersion = "0.2.4"
- End If
- If TheUpdater.WhatVersion = My.Resources.CurrentVersion Then
- File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
- 'CheckUpdate()
- Else
- btn_Aboot.Enabled = False
- btn_Exit.Enabled = False
- btn_FreeRoam.Enabled = False
- btn_StoryMode.Enabled = False
- ShouldUpdate = True
- ShiftOSUpdater.Show()
- ShiftOSUpdater.Label2.Text = "A new version, " & CurrentVersion & " is available." & Environment.NewLine & "Your version is " & TheUpdater.WhatVersion & Environment.NewLine & "Update now to get more features." 'ShiftOSUpdater.Label2.Text = "A new version, " & CurrentVersion & " is available." & Environment.NewLine & "Your version is " & TheUpdater.WhatVersion & "Update now to get more features."
- 'ShiftOSUpdater.Label2.Text = "Update function is temporarily disabled." & Environment.NewLine & "Click the 'Reset' to reset the save"
- 'ShiftOSUpdater.Button2.Text = "Reset"
- End If
+ 'If File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt") = True Then
+ ' TheUpdater.WhatVersion = File.ReadAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt")
+ 'Else
+ ' TheUpdater.WhatVersion = "0.2.4"
+ 'End If
+ 'If TheUpdater.WhatVersion = My.Resources.CurrentVersion Then
+ ' File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\version.txt", My.Resources.CurrentVersion)
+ ' 'CheckUpdate()
+ 'Else
+ ' btn_Aboot.Enabled = False
+ ' btn_Exit.Enabled = False
+ ' btn_FreeRoam.Enabled = False
+ ' btn_StoryMode.Enabled = False
+ ' ShouldUpdate = True
+ ' ShiftOSUpdater.Show()
+ ' ShiftOSUpdater.Label2.Text = "A new version, " & CurrentVersion & " is available." & Environment.NewLine & "Your version is " & TheUpdater.WhatVersion & Environment.NewLine & "Update now to get more features." 'ShiftOSUpdater.Label2.Text = "A new version, " & CurrentVersion & " is available." & Environment.NewLine & "Your version is " & TheUpdater.WhatVersion & "Update now to get more features."
+ ' 'ShiftOSUpdater.Label2.Text = "Update function is temporarily disabled." & Environment.NewLine & "Click the 'Reset' to reset the save"
+ ' 'ShiftOSUpdater.Button2.Text = "Reset"
+ 'End If
Else
If Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS") = True Then
If Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\ShiftFS") = True Then