From a7290454f7ce68cafff3538ad4e4e1b4091b9418 Mon Sep 17 00:00:00 2001 From: maxellnormalbias <0087yugbocaj@gmail.com> Date: Mon, 27 Apr 2015 20:37:39 -0700 Subject: [PATCH] Moved root location to the one set in the launcher --- ShiftOS/Paths.vb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ShiftOS/Paths.vb b/ShiftOS/Paths.vb index e8a3e63..416a44a 100644 --- a/ShiftOS/Paths.vb +++ b/ShiftOS/Paths.vb @@ -25,8 +25,9 @@ 'Declaration Hierarchy - - Public root As String = "C:\ShiftOS\" 'Do NOT use this unless it is for files that must go DIRECTLY in C:\ShiftOS\ + Public appData As String = System.Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\ShiftOSLauncher" + Public root As String = My.Computer.FileSystem.ReadAllText(appData + "\ExecFolder.dat") + "\" + 'Do NOT use this unless it is for files that must go DIRECTLY in C:\ShiftOS\ Public progdata As String = root & "SoftwareData\"