Skip to content

Commit

Permalink
fix issue 39
Browse files Browse the repository at this point in the history
  • Loading branch information
flakes committed Jan 16, 2015
1 parent 17f1d7c commit 673101f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installer/mirc-business.iss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ begin
if FileExists(GetMIRCExeDir() + '\mirc.ini') then
begin
// see https://github.com/flakes/mirc_fish_10/issues/39 ...
Result := GetMIRCExeDir();
if LowerCase(GetIniString('about', 'portable', 'yes', GetMIRCExeDir() + '\mirc.ini')) = 'yes' then
begin
Result := GetMIRCExeDir();
exit;
end;
end;
Expand All @@ -23,6 +25,7 @@ begin
if LowerCase(GetIniString('about', 'portable', 'yes', ExpandConstant('{userappdata}\mIRC\mirc.ini'))) = 'yes' then
begin
// doesn't make any sense!
Result := '';
exit;
end
else
Expand Down

0 comments on commit 673101f

Please sign in to comment.