Fix the ghci startmenu item
authorIan Lynagh <igloo@earth.li>
Fri, 26 Mar 2010 23:59:34 +0000 (23:59 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 26 Mar 2010 23:59:34 +0000 (23:59 +0000)
I'm not sure what changed, but it now doesn't work for me without
the "Start in" field being set.

distrib/ghc.iss.in

index 7a6d007..0dc7b13 100644 (file)
@@ -18,7 +18,7 @@ LicenseFile=distrib/windows-installer-licences.txt
 Source: "bindistprep\ghc-@ProjectVersion@\*"; DestDir: "{app}"; Flags: recursesubdirs
 
 [Icons]
-Name: "{group}\@ProjectVersion@\GHCi"; Filename: "{app}\bin\ghci.exe"
+Name: "{group}\@ProjectVersion@\GHCi"; Filename: "{app}\bin\ghci.exe"; WorkingDir: "{app}\bin"
 Name: "{group}\@ProjectVersion@\GHC Documentation"; Filename: "{app}\doc\html\index.html"
 Name: "{group}\@ProjectVersion@\GHC Library Documentation"; Filename: "{app}\doc\html\libraries\index.html"
 Name: "{group}\@ProjectVersion@\GHC Flag Reference"; Filename: "{app}\doc\html\users_guide\flag-reference.html"