ソースを参照

Move licence file to correct place to be used for windows installer.

Fixes CLIENT-183

Depends-On: Iff47e5dc648f44c03c16eb5c2e4053fba69b58dc
Change-Id: I3116ec7764e828c2d7bf9388d6498b39f5e2b3d3
Reviewed-on: http://gerrit.dmdirc.com/1811
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.5rc1
Greg Holmes 13年前
コミット
722f4bb9af
2個のファイルの変更8行の追加0行の削除
  1. 5
    0
      build-installer.xml
  2. 3
    0
      installer/windows/makeInstallerNSIS.sh

+ 5
- 0
build-installer.xml ファイルの表示

@@ -82,6 +82,7 @@
82 82
        </exec>
83 83
 
84 84
         <mkdir dir="modules\installer\windows\files\" />
85
+        <mkdir dir="modules\installer\output\" />
85 86
         <delete>
86 87
             <fileset dir="modules\installer\windows\files\" includes="*.*"/>
87 88
         </delete>
@@ -91,6 +92,9 @@
91 92
         <copy file="dist/DMDirc.jar"
92 93
             tofile="modules\installer\windows\files\DMDirc.jar"
93 94
             overwrite="true" />
95
+        <copy file="src/com/dmdirc/licences/DMDirc - MIT"
96
+            tofile="modules\installer\windows\licence.txt"
97
+            overwrite="true" />
94 98
         <nsis script="modules\installer\windows\updater.nsi" verbosity="1">
95 99
             <define name="VERSION" value="${version.git.nsis}"/>
96 100
         </nsis>
@@ -101,6 +105,7 @@
101 105
             <define name="VERSION" value="${version.git.nsis}"/>
102 106
         </nsis>
103 107
         <delete dir="modules\installer\windows\files" />
108
+        <delete file="modules\installer\windows\licence.txt" />
104 109
     </target>
105 110
 
106 111
 </project>

+ 3
- 0
installer/windows/makeInstallerNSIS.sh ファイルの表示

@@ -45,6 +45,7 @@ rm -Rfv ../../modules/installer/windows/files
45 45
 mkdir -p ../../modules/installer/windows/files
46 46
 
47 47
 cp "${jarfile}" "../../modules/installer/windows/files/DMDirc.jar"
48
+cp "../../src/com/dmdirc/licences/DMDirc - MIT" "../../modules/installer/windows/licence.txt"
48 49
 cd ../../modules/installer/windows/files
49 50
 
50 51
 if [ "" != "${plugins}" ]; then
@@ -70,6 +71,8 @@ for NSI in updater.nsi launcher.nsi installer.nsi; do
70 71
 	makensis -DVERSION="${NSISVERSION}" -V2 $NSI;
71 72
 done
72 73
 
74
+rm "license.txt"
75
+
73 76
 cd "${OLDDIR}"
74 77
 SRC="../../modules/installer/output/DMDirc-Setup.exe"
75 78
 

読み込み中…
キャンセル
保存