summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-01 16:50:48 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-01 16:50:48 +0200
commitc563d70aed0bad1036dbd05c0c5334846367243e (patch)
tree8fef9c3cea00723a13615a9ebc5cb72989fa9c4e
parentc1dde82389e473638aeec84960e0c4bb6b22d27d (diff)
Make sure HexChat won't run in portable mode if the user doesn't select it
-rw-r--r--win32/installer/hexchat-x64.skel.iss1
-rw-r--r--win32/installer/hexchat-x86.skel.iss1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/installer/hexchat-x64.skel.iss b/win32/installer/hexchat-x64.skel.iss
index f198487b..0f175cad 100644
--- a/win32/installer/hexchat-x64.skel.iss
+++ b/win32/installer/hexchat-x64.skel.iss
@@ -260,6 +260,7 @@ begin
 			begin

 				UnInstallOldVersion();

 			end;

+			DeleteFile(ExpandConstant('{app}\portable-mode'));

 		end;

 	end;

 end;

diff --git a/win32/installer/hexchat-x86.skel.iss b/win32/installer/hexchat-x86.skel.iss
index da7d900b..45ce964c 100644
--- a/win32/installer/hexchat-x86.skel.iss
+++ b/win32/installer/hexchat-x86.skel.iss
@@ -261,6 +261,7 @@ begin
 			begin

 				UnInstallOldVersion();

 			end;

+			DeleteFile(ExpandConstant('{app}\portable-mode'));

 		end;

 	end;

 end;