1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/osx/makedist.sh

44 lines
1.7 KiB
Bash
Raw Normal View History

2014-11-11 15:27:18 +08:00
#!/usr/bin/env bash
# Copyright © 2019 by The qTox Project Contributors
#
# This file is part of qTox, a Qt-based graphical interface for Tox.
# qTox is libre software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# qTox is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with qTox. If not, see <http://www.gnu.org/licenses/>
2014-11-11 15:27:18 +08:00
PWD=`pwd`
2014-11-11 16:04:00 +08:00
echo "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>
<installer-gui-script minSpecVersion=\"1\">
<pkg-ref id=\"chat.tox.qtox\"/>
2014-11-11 16:04:00 +08:00
<options hostArchitectures=\"x86_64\"/>
2014-11-11 15:27:18 +08:00
<title>qTox</title>
2014-11-11 16:04:00 +08:00
<license file=\"$PWD/gplv3.rtf\"/>
<welcome file=\"$PWD/welcome.txt\"/>
2014-11-15 09:06:28 +08:00
<domains enable_currentUserHome=\"true\" enable_localSystem=\"false\" enable_anywhere=\"false\"/>
2014-11-17 17:45:55 +08:00
<options customize=\"never\" require-scripts=\"true\"/>
2014-11-11 15:27:18 +08:00
<choices-outline>
2014-11-11 16:04:00 +08:00
<line choice=\"default\">
<line choice=\"chat.tox.qtox\"/>
2014-11-11 15:27:18 +08:00
</line>
</choices-outline>
<allowed-os-versions>
2014-11-11 16:04:00 +08:00
<os-version min=\"10.7\"/>
2014-11-11 15:27:18 +08:00
</allowed-os-versions>
2014-11-11 16:04:00 +08:00
<choice id=\"default\"/>
<choice id=\"chat.tox.qtox\" visible=\"false\">
<pkg-ref id=\"chat.tox.qtox\"/>
2014-11-11 15:27:18 +08:00
</choice>
<pkg-ref id=\"chat.tox.qtox\" version=\"1\" onConclusion=\"none\">qtox.pkg</pkg-ref>
2014-11-11 15:27:18 +08:00
</installer-gui-script>" > distribution.xml