OSDN Git Service

Mac OS X用のインストーラ関係のファイルを追加
[neighbornote/NeighborNote.git] / installbuilder / installbuilder_mac.xml
1 <project>
2     <shortName>neighbornote</shortName>
3     <fullName>NeighborNote</fullName>
4     <version>0.4.1</version>
5     <readmeFile>/Users/takahashi/Desktop/NeighborNote/README.md</readmeFile>
6     <licenseFile>/Users/takahashi/Desktop/NeighborNote/LICENSE</licenseFile>
7     <logoImage>/Users/takahashi/Desktop/NeighborNote/installbuilder/installerLogo.png</logoImage>
8     <splashImage>/Users/takahashi/Desktop/NeighborNote/installbuilder/installerSplash.png</splashImage>
9     <allowLanguageSelection>1</allowLanguageSelection>
10     <componentList>
11         <component>
12             <name>default</name>
13             <description>Default Component</description>
14             <canBeEdited>1</canBeEdited>
15             <selected>1</selected>
16             <show>1</show>
17             <desktopShortcutList>
18                 <shortcut>
19                     <comment>NeighborNote</comment>
20                     <exec>${installdir}/neighbornote.sh</exec>
21                     <icon>${installdir}/neighbornote.png</icon>
22                     <name>NeighborNote</name>
23                     <path></path>
24                     <platforms>all</platforms>
25                     <runAsAdmin>0</runAsAdmin>
26                     <runInTerminal>0</runInTerminal>
27                     <windowsExec>${installdir}/neighbornote.bat</windowsExec>
28                     <windowsExecArgs></windowsExecArgs>
29                     <windowsIcon>${installdir}/neighbornote.ico</windowsIcon>
30                     <windowsPath></windowsPath>
31                 </shortcut>
32             </desktopShortcutList>
33             <folderList>
34                 <folder>
35                     <description>Program Files</description>
36                     <destination>${installdir}</destination>
37                     <name>programfiles</name>
38                     <platforms>all</platforms>
39                     <distributionFileList>
40                         <distributionDirectory>
41                             <origin>/Users/takahashi/Desktop/NeighborNote/images</origin>
42                         </distributionDirectory>
43                         <distributionDirectory>
44                             <origin>/Users/takahashi/Desktop/NeighborNote/lib</origin>
45                         </distributionDirectory>
46                         <distributionDirectory>
47                             <origin>/Users/takahashi/Desktop/NeighborNote/qss</origin>
48                         </distributionDirectory>
49                         <distributionDirectory>
50                             <origin>/Users/takahashi/Desktop/NeighborNote/spell</origin>
51                         </distributionDirectory>
52                         <distributionDirectory>
53                             <origin>/Users/takahashi/Desktop/NeighborNote/translations</origin>
54                         </distributionDirectory>
55                         <distributionDirectory>
56                             <origin>/Users/takahashi/Desktop/NeighborNote/xml</origin>
57                         </distributionDirectory>
58                         <distributionFile>
59                             <origin>/Users/takahashi/Desktop/NeighborNote/neighbornote.jar</origin>
60                         </distributionFile>
61                         <distributionDirectory>
62                             <origin>/Users/takahashi/Desktop/NeighborNote/extras</origin>
63                         </distributionDirectory>
64                         <distributionFile>
65                             <origin>/Users/takahashi/Desktop/NeighborNote/copyright</origin>
66                         </distributionFile>
67                         <distributionFile>
68                             <origin>/Users/takahashi/Desktop/NeighborNote/gpl.txt</origin>
69                         </distributionFile>
70                         <distributionFile>
71                             <origin>/Users/takahashi/Desktop/NeighborNote/LICENSE</origin>
72                         </distributionFile>
73                         <distributionFile>
74                             <origin>/Users/takahashi/Desktop/NeighborNote/README.md</origin>
75                         </distributionFile>
76                         <distributionFile>
77                             <origin>/Users/takahashi/Desktop/NeighborNote/release.txt</origin>
78                         </distributionFile>
79                     </distributionFileList>
80                     <shortcutList>
81                         <shortcut>
82                             <comment>Uninstall</comment>
83                             <exec>${installdir}/${uninstallerName}</exec>
84                             <icon></icon>
85                             <name>Uninstall ${product_fullname}</name>
86                             <path>${installdir}</path>
87                             <platforms>all</platforms>
88                             <runAsAdmin>0</runAsAdmin>
89                             <runInTerminal>0</runInTerminal>
90                             <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
91                             <windowsExecArgs></windowsExecArgs>
92                             <windowsIcon></windowsIcon>
93                             <windowsPath>${installdir}</windowsPath>
94                         </shortcut>
95                     </shortcutList>
96                 </folder>
97                 <folder>
98                     <description>Program Files</description>
99                     <destination>${installdir}</destination>
100                     <name>programfilesosx</name>
101                     <platforms>osx</platforms>
102                     <distributionFileList>
103                         <distributionDirectory>
104                             <origin>/Users/takahashi/Desktop/NeighborNote/installbuilder/neighbornote-osx.app</origin>
105                         </distributionDirectory>
106                     </distributionFileList>
107                 </folder>
108                 <folder>
109                     <description>Lib</description>
110                     <destination>${installdir}/lib</destination>
111                     <name>libOSX</name>
112                     <platforms>osx</platforms>
113                     <distributionFileList>
114                         <distributionFile>
115                             <origin>/Users/takahashi/Desktop/qtjambi-mac-lgpl-4.5.2_01/qtjambi-macosx-gcc-4.5.2_01.jar</origin>
116                         </distributionFile>
117                         <distributionFile>
118                             <origin>/Users/takahashi/Desktop/qtjambi-mac-lgpl-4.5.2_01/qtjambi-macosx-4.5.2_01.jar</origin>
119                         </distributionFile>
120                     </distributionFileList>
121                 </folder>
122             </folderList>
123             <startMenuShortcutList>
124                 <startMenuShortcut>
125                     <comment>Uninstall ${product_fullname}</comment>
126                     <name>Uninstall ${product_fullname}</name>
127                     <runAsAdmin>0</runAsAdmin>
128                     <runInTerminal>0</runInTerminal>
129                     <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
130                     <windowsExecArgs></windowsExecArgs>
131                     <windowsIcon>${installdir}/uninstall.ico</windowsIcon>
132                     <windowsPath>${installdir}/</windowsPath>
133                 </startMenuShortcut>
134                 <startMenuShortcut>
135                     <comment>NeighborNote</comment>
136                     <name>NeighborNote</name>
137                     <runAsAdmin>0</runAsAdmin>
138                     <runInTerminal>0</runInTerminal>
139                     <windowsExec>${installdir}/neighbornote.bat</windowsExec>
140                     <windowsExecArgs></windowsExecArgs>
141                     <windowsIcon>${installdir}/neighbornote.ico</windowsIcon>
142                     <windowsPath></windowsPath>
143                 </startMenuShortcut>
144             </startMenuShortcutList>
145         </component>
146     </componentList>
147     <postInstallationActionList>
148         <runProgram>
149             <program>defaults</program>
150             <programArguments>write com.apple.dock persistent-apps -array-add '
151                 &lt;dict&gt;
152                 &lt;key&gt;tile-data&lt;/key&gt;
153                 &lt;dict&gt;
154                 &lt;key&gt;file-data&lt;/key&gt;
155                 &lt;dict&gt;
156                 &lt;key&gt;_CFURLString&lt;/key&gt;
157                 &lt;string&gt;${installdir}/neighbornote-osx.app&lt;/string&gt;
158                 &lt;key&gt;_CFURLStringType&lt;/key&gt;
159                 &lt;integer&gt;0&lt;/integer&gt;
160                 &lt;/dict&gt; &lt;/dict&gt; &lt;/dict&gt;'
161             </programArguments>
162         </runProgram>
163         <runProgram>
164             <program>killall</program>
165             <programArguments>-HUP Dock</programArguments>
166         </runProgram>
167     </postInstallationActionList>
168     <enableRollback>1</enableRollback>
169     <enableTimestamp>1</enableTimestamp>
170     <vendor>Yuki Takahashi</vendor>
171     <licenseFileList>
172         <licenseFile>
173             <code>en</code>
174             <encoding>utf-8</encoding>
175             <file>/Users/takahashi/Desktop/NeighborNote/LICENSE</file>
176         </licenseFile>
177     </licenseFileList>
178     <parameterList>
179         <directoryParameter>
180             <name>installdir</name>
181             <description>Installer.Parameter.installdir.description</description>
182             <explanation>Installer.Parameter.installdir.explanation</explanation>
183             <value></value>
184             <default>${platform_install_prefix}/${product_shortname}-${product_version}</default>
185             <allowEmptyValue>0</allowEmptyValue>
186             <ask>yes</ask>
187             <cliOptionName>prefix</cliOptionName>
188             <mustBeWritable>yes</mustBeWritable>
189             <mustExist>0</mustExist>
190             <width>40</width>
191         </directoryParameter>
192     </parameterList>
193     <readmeFileList>
194         <readmeFile>
195             <code>ja</code>
196             <encoding>utf-8</encoding>
197             <file>/Users/takahashi/Desktop/NeighborNote/README.md</file>
198         </readmeFile>
199     </readmeFileList>
200 </project>
201