change to const
This commit is contained in:
@@ -33,10 +33,10 @@ Namespace Runtime
|
||||
If t Is Nothing Then
|
||||
|
||||
Dim windir = Environment.GetEnvironmentVariable("windir")
|
||||
Dim ostypeDirWine = "Z:\proc\sys\kernel\ostype"
|
||||
Dim ostypeDirNative = "/proc/sys/kernel/ostype"
|
||||
Dim systemVersionWine = "Z:\System\Library\CoreServices\SystemVersion.plist"
|
||||
Dim systemVersionNative = "/System/Library/CoreServices/SystemVersion.plist"
|
||||
Const ostypeDirWine = "Z:\proc\sys\kernel\ostype"
|
||||
Const ostypeDirNative = "/proc/sys/kernel/ostype"
|
||||
Const systemVersionWine = "Z:\System\Library\CoreServices\SystemVersion.plist"
|
||||
Const systemVersionNative = "/System/Library/CoreServices/SystemVersion.plist"
|
||||
|
||||
If File.Exists(ostypeDirWine) Then ' Linux using wine
|
||||
Dim osTypeString As String = File.ReadAllText(ostypeDirWine)
|
||||
|
||||
Reference in New Issue
Block a user