aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/Paths.vb
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS/Paths.vb')
-rw-r--r--ShiftOS/Paths.vb5
1 files 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\"