aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpfgithub <[email protected]>2015-04-27 20:56:14 -0700
committerpfgithub <[email protected]>2015-04-27 20:56:14 -0700
commitc3a4af14d04b52f0e310c4e3bba546195b968a7e (patch)
tree95bd25a8b2405a7238c5c6501aea62be6ab69e19
parentc6532553b5b0d0e6364ba9442fcdb53bad23b8d6 (diff)
parenta7290454f7ce68cafff3538ad4e4e1b4091b9418 (diff)
downloadshiftos-c3a4af14d04b52f0e310c4e3bba546195b968a7e.tar.gz
shiftos-c3a4af14d04b52f0e310c4e3bba546195b968a7e.tar.bz2
shiftos-c3a4af14d04b52f0e310c4e3bba546195b968a7e.zip
Merge pull request #30 from maxellnormalbias/master
Moved root location to the one set in the launcher
-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\"