forked from zotero/zotero-standalone-build
-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.sh
57 lines (46 loc) · 2.08 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Whether to build for various platforms
BUILD_MAC=1
BUILD_WIN32=1
BUILD_LINUX=1
# Whether or not to bundle plugins (in the plugins/*/ folders) with the distribution packages
BUNDLE_PLUGINS=0
# Version of Gecko to build with
GECKO_VERSION="17.0"
# Paths to Gecko runtimes
MAC_RUNTIME_PATH="`pwd`/xulrunner/XUL.framework"
WIN32_RUNTIME_PATH="`pwd`/xulrunner/xulrunner_win32"
LINUX_i686_RUNTIME_PATH="`pwd`/xulrunner/xulrunner_linux-i686"
LINUX_x86_64_RUNTIME_PATH="`pwd`/xulrunner/xulrunner_linux-x86_64"
# Whether to sign builds
SIGN=1
# OS X Developer ID certificate information
DEVELOPER_ID=replacemereplacemereplacemereplacemerepl
CODESIGN_REQUIREMENTS="=designated => anchor apple generic and identifier \"org.foo.bar\" and ((cert leaf[field.0.0.000.123456.000.1.2.3] exists) or ( certificate 1[field.1.0.000.123456.000.1.2.3] exists and certificate leaf[field.2.0.000.123456.000.1.2.3] exists and certificate leaf[subject.OU] = \"FOO123BAR1\" ))"
# Paths for Windows installer build
MAKENSISU='C:\Program Files (x86)\NSIS\Unicode\makensis.exe'
UPX='C:\Program Files (x86)\upx\upx.exe'
EXE7ZIP='C:\Program Files\7-Zip\7z.exe'
# Paths for Windows installer build only necessary for signed binaries
SIGNTOOL='C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\signtool.exe'
SIGNATURE_URL='https://www.example.com/'
# If version is not specified on the command line, version is this prefix followed by the revision
DEFAULT_VERSION_PREFIX="0.0.0.SOURCE."
# Numeric version for OS X bundle
VERSION_NUMERIC="0.0.0"
# Directory for building
BUILDDIR="/tmp/app-build-`uuidgen | head -c 8`"
# Module to use as XUL app for build
MODULE="app"
# Module containing webapp to wrap
WEBAPPMODULE="kitchensink/dist/"
# Directory containing privileged scripts to be copied to the application's chrome contents
BRIDGESCRIPTS="kitchensink/bridge/"
# Directory for unpacked binaries
STAGEDIR="$CALLDIR/staging"
# Directory for packed binaries
DISTDIR="$CALLDIR/dist"
# App name
APPNAME="Webapp XUL Wrapper"
PACKAGENAME="webapp-xul-wrapper"
# Packages url (used for update packaging)
PACKAGESURL="http://www.example.com/app/packages"