Some final v102 changes
This commit is contained in:
@@ -145,19 +145,18 @@ Public Class mgrProcesses
|
||||
'This function will only work correctly on Unix
|
||||
Private Function GetUnixSymLinkDirectory(ByVal prs As Process) As String
|
||||
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
|
||||
prsls = New Process
|
||||
prsls.StartInfo.FileName = "/bin/bash"
|
||||
prsls.StartInfo.Arguments = "-c ""ls -l /proc/" & prs.Id.ToString & " | grep cwd"""
|
||||
prsls.StartInfo.FileName = "/bin/readlink"
|
||||
prsls.StartInfo.Arguments = "-f /proc/" & prs.Id.ToString & "/cwd"
|
||||
prsls.StartInfo.UseShellExecute = False
|
||||
prsls.StartInfo.RedirectStandardOutput = True
|
||||
prsls.StartInfo.CreateNoWindow = True
|
||||
prsls.Start()
|
||||
slsinfo = prsls.StandardOutput.ReadToEnd().Split(">")
|
||||
Return slsinfo(slsinfo.Length - 1).Trim
|
||||
slsinfo = prsls.StandardOutput.ReadToEnd()
|
||||
Return slsinfo.Trim()
|
||||
Catch ex As Exception
|
||||
Return String.Empty
|
||||
End Try
|
||||
|
||||
@@ -21,5 +21,7 @@ New in 1.02
|
||||
- (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) 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
|
||||
Reference in New Issue
Block a user