summary refs log tree commit diff stats
path: root/win32
diff options
context:
space:
mode:
authorTingPing <tingping@fedoraproject.org>2014-07-29 18:48:56 -0400
committerTingPing <tingping@fedoraproject.org>2015-02-12 19:11:46 -0500
commitb6877ccf5c7676a7b7c64797d38cf8833692e1ae (patch)
treedad866544853a7d2c494350d3f1f6a500157270a /win32
parent7063406d6caf42f61d87e42db6ce46df9e64ffef (diff)
win32: Use WinSparkle for handling updates
Fixes #1282
Diffstat (limited to 'win32')
-rw-r--r--win32/copy/copy.vcxproj2
-rw-r--r--win32/hexchat.props2
-rw-r--r--win32/installer/hexchat.iss.tt1
3 files changed, 5 insertions, 0 deletions
diff --git a/win32/copy/copy.vcxproj b/win32/copy/copy.vcxproj
index a0c0a39d..557ca702 100644
--- a/win32/copy/copy.vcxproj
+++ b/win32/copy/copy.vcxproj
@@ -51,6 +51,7 @@
     <None Include="$(DepsRoot)\bin\pixman-1.dll" />

     <None Include="$(DepsRoot)\bin\ssleay32.dll" />

     <None Include="$(DepsRoot)\bin\zlib1.dll" />

+    <None Include="$(WinSparklePath)\WinSparkle.dll" />

     <None Include="$(HexChatBin)thememan.exe" />

     <None Include="changelog.url" />

     <None Include="readme.url" />

@@ -72,6 +73,7 @@
     <Copy SourceFiles="@(Share)" DestinationFiles="@(Share->'$(HexChatRel)\share\%(RecursiveDir)%(Filename)%(Extension)')" />

     <Copy SourceFiles="@(DepsRootDocs)" DestinationFiles="@(DepsRootDocs->'$(HexChatRel)\share\doc\%(RecursiveDir)%(Filename)%(Extension)')" />

     <Copy SourceFiles="..\..\COPYING" DestinationFolder="$(HexChatRel)\share\doc\hexchat" />

+    <Copy SourceFiles="$(WinSparklePath)\COPYING" DestinationFolder="$(HexChatRel)\share\doc\WinSparkle" />

     <Copy SourceFiles="$(DepsRoot)\lib\enchant\libenchant_myspell.dll" DestinationFolder="$(HexChatRel)\lib\enchant" />

     <Copy SourceFiles="@(Locale)" DestinationFiles="@(Locale->'$(HexChatRel)\share\locale\%(RecursiveDir)%(Filename)%(Extension)')" />

     <Copy SourceFiles="@(MSWindowsTheme)" DestinationFiles="@(MSWindowsTheme->'$(HexChatRel)\share\themes\MS-Windows\%(RecursiveDir)%(Filename)%(Extension)')" />

diff --git a/win32/hexchat.props b/win32/hexchat.props
index 8d0a71c6..e35378cb 100644
--- a/win32/hexchat.props
+++ b/win32/hexchat.props
@@ -10,6 +10,7 @@
 		<YourPerlPath>c:\mozilla-build\perl-5.20</YourPerlPath>

 		<YourPython2Path>c:\mozilla-build\python-2.7</YourPython2Path>

 		<YourPython3Path>c:\mozilla-build\python-3.4</YourPython3Path>

+		<YourWinSparklePath>c:\mozilla-build\WinSparkle</YourWinSparklePath>

 

 		<!-- YOU SHOULDN'T TOUCH ANYTHING BELOW -->

 

@@ -19,6 +20,7 @@
 		<DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot>

 		<GendefPath>$(YourGendefPath)</GendefPath>

 		<MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath>

+		<WinSparklePath>$(YourWinSparklePath)\$(PlatformName)</WinSparklePath>

 		<PerlPath>$(YourPerlPath)\$(PlatformName)</PerlPath>

 		<PerlLib>perl520</PerlLib>

 		<Python2Path>$(YourPython2Path)\$(PlatformName)</Python2Path>

diff --git a/win32/installer/hexchat.iss.tt b/win32/installer/hexchat.iss.tt
index aa9be8a4..5ee9a0ae 100644
--- a/win32/installer/hexchat.iss.tt
+++ b/win32/installer/hexchat.iss.tt
@@ -162,6 +162,7 @@ Source: "share\music.png"; DestDir: "{app}\share"; Flags: ignoreversion; Compone
 Source: "plugins\hcmpcinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\mpcinfo
 Source: "share\download.png"; DestDir: "{app}\share"; Flags: ignoreversion; Components: plugins\upd
 Source: "plugins\hcupd.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\upd
+Source: "WinSparkle.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: plugins\upd
 Source: "plugins\hcwinamp.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\winamp
 Source: "share\system.png"; DestDir: "{app}\share"; Flags: ignoreversion; Components: plugins\sysinfo
 Source: "plugins\hcsysinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\sysinfo