Created
August 22, 2013 09:08
-
-
Save kongscn/6304858 to your computer and use it in GitHub Desktop.
As joao posted [here](https://code.google.com/p/meld-installer/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=11).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoTrayIcon | |
PythonDir = %A_ScriptDir%\..\python\App | |
MeldDir = %A_ScriptDir% | |
params := "" | |
firstParam := true | |
Loop, %0% | |
{ | |
param = %A_Index% | |
firstChar := SubStr(%param%, 1, 1) | |
if (firstParam = false) { | |
params .= " " | |
} | |
if (firstChar != """" && firstChar != "-") { | |
params .= """" | |
} | |
params .= %param% | |
if (firstChar != """" && firstChar != "-") { | |
params .= """" | |
} | |
firstParam := false | |
} | |
RunWait, "%PythonDir%\pythonw.exe" "%MeldDir%\bin\meld" %params% | |
Exit, %ErrorLevel% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As joao posted here.
This will fix the startup dir bug of meld with meld installer v1.6.1.1 and v1.7.4.0 runing in windows.