aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/Paths.vb
diff options
context:
space:
mode:
authormaxellnormalbias <[email protected]>2015-04-27 20:37:39 -0700
committermaxellnormalbias <[email protected]>2015-04-27 20:37:39 -0700
commita7290454f7ce68cafff3538ad4e4e1b4091b9418 (patch)
tree95bd25a8b2405a7238c5c6501aea62be6ab69e19 /ShiftOS/Paths.vb
parent69f9b7bfe26a4979e329bdf49a3bde676c128978 (diff)
downloadshiftos-a7290454f7ce68cafff3538ad4e4e1b4091b9418.tar.gz
shiftos-a7290454f7ce68cafff3538ad4e4e1b4091b9418.tar.bz2
shiftos-a7290454f7ce68cafff3538ad4e4e1b4091b9418.zip
Moved root location to the one set in the launcher
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\"