summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <f.bruhin@beh.ch>2015-04-13 12:33:18 +0200
committerFlorian Bruhin <f.bruhin@beh.ch>2015-04-13 12:33:18 +0200
commit4547fd2c5d3393d0b5b37784e8cba3da1fde717d (patch)
treeec0c5ce9e93d6b1ca9cb9d21f3472235ef6a4c9d
parent566ffdbe23ad0f4a5daa14874d837a15d92156eb (diff)
downloadqutebrowser-4547fd2c5d3393d0b5b37784e8cba3da1fde717d.tar.gz
qutebrowser-4547fd2c5d3393d0b5b37784e8cba3da1fde717d.zip
Add an applications shortcut to the .dmg.
See #384.
-rwxr-xr-xscripts/freeze.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/freeze.py b/scripts/freeze.py
index 515006978..b4685a4ae 100755
--- a/scripts/freeze.py
+++ b/scripts/freeze.py
@@ -68,6 +68,10 @@ bdist_msi_options = {
'add_to_path': False,
}
+bdist_dmg_options = {
+ 'applications_shortcut': True,
+}
+
if sys.platform.startswith('win'):
base = 'Win32GUI'
target_name = 'qutebrowser.exe'
@@ -89,6 +93,7 @@ try:
options={
'build_exe': build_exe_options,
'bdist_msi': bdist_msi_options,
+ 'bdist_dmg': bdist_dmg_options,
},
**setupcommon.setupdata
)