From 57e6eec1bc00eaedeb6004c225184ba03f1155e0 Mon Sep 17 00:00:00 2001 From: TheUltimateHacker Date: Sat, 23 May 2015 10:21:24 -0400 Subject: Basic Window Manager implemented WARNING: Due to a bug that made the save engine think it was ShiftOS 0.0.8, I had to change the actualshiftversion variable to prevent older ShiftOS versions opening the save file thus crashing. Due to this, ShiftOS-Next will automatically delete C:\ShiftOS and rewrite the save. Besides that, I've added a new Window Manager that can be bought after buying Gray, Basic GUI Server, File Skimmer, and Textpad. This window manager allows you to run multiple apps at once in their own window, as well as having up to 3 Terminals running at once. It is a work-in-progress feature, but it's currently stable. --- shiftos_next/Hijack.vb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'shiftos_next/Hijack.vb') diff --git a/shiftos_next/Hijack.vb b/shiftos_next/Hijack.vb index 9604ae1..b182254 100644 --- a/shiftos_next/Hijack.vb +++ b/shiftos_next/Hijack.vb @@ -4,7 +4,7 @@ Imports System.Text Imports System.Net.Mail Public Class HijackScreen - Public actualshiftversion As String = "0.0.8" + Public actualshiftversion As String = "NEXT 0.0.1" Dim newgame As Boolean = True Dim tcount As Integer = 0 Dim rtext As String @@ -35,11 +35,16 @@ Public Class HijackScreen If IO.File.ReadAllText("C:/ShiftOS/Shiftum42/HDAccess.sft") = actualshiftversion Then conversationtimer.Start() needtoclose = True - Terminal.Show() + loadgame() + If boughtbasicwm = True Then + BasicWM.Desktop.Show() + Else + Terminal.Show() + End If Else - oldversion = IO.File.ReadAllText("C:/ShiftOS/Shiftum42/HDAccess.sft") + oldversion = IO.File.ReadAllText(systemdir + "HDAccess.sft") upgraded = True - System.IO.Directory.Delete("C:/ShiftOS/", True) + System.IO.Directory.Delete(root, True) BackgroundWorker1.RunWorkerAsync() conversationtimer.Start() hackeffecttimer.Start() -- cgit v1.2.3