summaryrefslogtreecommitdiff
path: root/utils/themeeditor
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor')
-rw-r--r--utils/themeeditor/Info.plist2
-rw-r--r--utils/themeeditor/dmgbuild.cfg17
2 files changed, 18 insertions, 1 deletions
diff --git a/utils/themeeditor/Info.plist b/utils/themeeditor/Info.plist
index 95c5604604..22cf2ea1cf 100644
--- a/utils/themeeditor/Info.plist
+++ b/utils/themeeditor/Info.plist
@@ -3,7 +3,7 @@
3<plist version="0.9"> 3<plist version="0.9">
4 <dict> 4 <dict>
5 <key>CFBundleExecutable</key> 5 <key>CFBundleExecutable</key>
6 <string>rbthemeeditor</string> 6 <string>RockboxThemeEditor</string>
7 <key>CFBundleName</key> 7 <key>CFBundleName</key>
8 <string>Theme Editor</string> 8 <string>Theme Editor</string>
9 <key>CFBundleShortVersionString</key> 9 <key>CFBundleShortVersionString</key>
diff --git a/utils/themeeditor/dmgbuild.cfg b/utils/themeeditor/dmgbuild.cfg
new file mode 100644
index 0000000000..70d086c098
--- /dev/null
+++ b/utils/themeeditor/dmgbuild.cfg
@@ -0,0 +1,17 @@
1# Configuration for creating a dmg with dmgbuild
2# (https://github.com/al45tair/dmgbuild)
3# Requires at least Python 3.4
4
5import os
6import plistlib
7
8_appbundle = defines['appbundle']
9_plfile = open(os.path.join(_appbundle, 'Contents/Info.plist'))
10_pldata = _plfile.read().encode()
11_plist = plistlib.loads(_pldata)
12_iconfile = os.path.join(_appbundle, 'Contents/Resources', _plist['CFBundleIconFile'])
13
14files = [ _appbundle ]
15icon = _iconfile
16background = '#c6d6f5'
17