From 87f8840b725a8a5db25977eff6f27e200c20f03d Mon Sep 17 00:00:00 2001 From: MikeMaximus Date: Fri, 12 Oct 2018 10:18:17 -0600 Subject: [PATCH] Handle default wine prefix for path conversions --- GBM/Managers/mgrPath.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GBM/Managers/mgrPath.vb b/GBM/Managers/mgrPath.vb index 1b549e8..340a71f 100644 --- a/GBM/Managers/mgrPath.vb +++ b/GBM/Managers/mgrPath.vb @@ -310,7 +310,8 @@ Public Class mgrPath oMatch = oParse.Match(sPsinfo) Return oMatch.Value.Trim("/").Split("=")(1) Else - Return String.Empty + 'When WINEPREFIX is not part of the command, we will assume the default prefix. + Return Environment.GetFolderPath(Environment.SpecialFolder.Personal) & "/.wine" End If Catch ex As Exception mgrCommon.ShowMessage(mgrPath_ErrorWinePrefix, ex.Message, MsgBoxStyle.Exclamation)