Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ideascube
ARCHIVED Kiwix Hotspot
Commits
4f27cb9e
Commit
4f27cb9e
authored
Jul 26, 2018
by
rgaudin
Browse files
Added version metadata to macOS App
parent
4c3421b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
pibox-installer-macos.spec
View file @
4f27cb9e
# -*- mode: python -*-
import
os
import
sys
import
subprocess
sys
.
path
+=
[
os
.
path
.
join
(
os
.
getcwd
(),
'pibox-installer'
)]
from
version
import
get_version_str
,
get_short_version_str
output
=
subprocess
.
check_output
([
"ls"
,
"qemu"
])
files
=
output
.
decode
(
'utf-8'
).
splitlines
()
...
...
@@ -41,4 +45,10 @@ coll = COLLECT(exe,
app
=
BUNDLE
(
coll
,
name
=
'kiwix-plug_installer.app'
,
icon
=
'pibox-installer-logo.icns'
,
bundle_identifier
=
'org.kiwix.plug'
)
bundle_identifier
=
'org.kiwix.plug'
,
info_plist
=
{
'CFBundleDisplayName'
:
'Kiwix-plug installer'
,
'CFBundleShortVersionString'
:
get_version_str
(),
'CFBundleVersion'
:
get_short_version_str
(),
'NSHumanReadableCopyright'
:
'Kiwix'
})
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment