Some final v102 changes

This commit is contained in:
MikeMaximus
2017-07-01 12:23:28 -06:00
parent ef6997a2ab
commit d11f468add
2 changed files with 7 additions and 6 deletions
+5 -6
View File
@@ -145,19 +145,18 @@ Public Class mgrProcesses
'This function will only work correctly on Unix 'This function will only work correctly on Unix
Private Function GetUnixSymLinkDirectory(ByVal prs As Process) As String Private Function GetUnixSymLinkDirectory(ByVal prs As Process) As String
Dim prsls As Process Dim prsls As Process
Dim slsinfo As String() Dim slsinfo As String
'This is the best way I can think of to determine the end point of a symlink without doing even more crazy shit
Try Try
prsls = New Process prsls = New Process
prsls.StartInfo.FileName = "/bin/bash" prsls.StartInfo.FileName = "/bin/readlink"
prsls.StartInfo.Arguments = "-c ""ls -l /proc/" & prs.Id.ToString & " | grep cwd""" prsls.StartInfo.Arguments = "-f /proc/" & prs.Id.ToString & "/cwd"
prsls.StartInfo.UseShellExecute = False prsls.StartInfo.UseShellExecute = False
prsls.StartInfo.RedirectStandardOutput = True prsls.StartInfo.RedirectStandardOutput = True
prsls.StartInfo.CreateNoWindow = True prsls.StartInfo.CreateNoWindow = True
prsls.Start() prsls.Start()
slsinfo = prsls.StandardOutput.ReadToEnd().Split(">") slsinfo = prsls.StandardOutput.ReadToEnd()
Return slsinfo(slsinfo.Length - 1).Trim Return slsinfo.Trim()
Catch ex As Exception Catch ex As Exception
Return String.Empty Return String.Empty
End Try End Try
+2
View File
@@ -21,5 +21,7 @@ New in 1.02
- (Linux) Using the keyboard to navigate the game list in the Game Manager now works correctly. - (Linux) Using the keyboard to navigate the game list in the Game Manager now works correctly.
- (All) Tags can now be added to a new game configuration before saving on the Game Manager. - (All) Tags can now be added to a new game configuration before saving on the Game Manager.
- (All) Fixed various issues when adding new game configurations while using filters on the Game Manager. - (All) Fixed various issues when adding new game configurations while using filters on the Game Manager.
- (All) Added better handling of 7-Zip warnings and errors.
- (Linux) GBM now requires the "readlink" utility to properly handle Wine games. However bash, ls and grep are no longer required.
The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html