mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-16 10:56:51 +00:00
Added background-guide image and README in macOS dmg
This commit is contained in:
parent
d3e9a98d68
commit
764ace69cb
@ -37,6 +37,8 @@ before_deploy:
|
|||||||
- pip install dmgbuild
|
- pip install dmgbuild
|
||||||
- mkdir dist_dmg
|
- mkdir dist_dmg
|
||||||
- mv resources/macos_vlc_install.command resources/.macos_vlc_install.command
|
- mv resources/macos_vlc_install.command resources/.macos_vlc_install.command
|
||||||
|
- mv resources/lua/intf/syncplay.lua resources/lua/intf/.syncplay.lua
|
||||||
|
- mv resources/macOS_readme.pdf resources/.macOS_readme.pdf
|
||||||
- dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay-qtpy-pyside2.dmg
|
- dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay-qtpy-pyside2.dmg
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
16
appdmg.py
16
appdmg.py
@ -27,10 +27,10 @@ compression_level = 9
|
|||||||
size = defines.get('size', None)
|
size = defines.get('size', None)
|
||||||
|
|
||||||
# Files to include
|
# Files to include
|
||||||
files = [ application, 'resources/lua/intf/syncplay.lua', 'resources/.macos_vlc_install.command' ]
|
files = [ application, 'resources/lua/intf/.syncplay.lua', 'resources/.macos_vlc_install.command', 'resources/.macOS_readme.pdf' ]
|
||||||
|
|
||||||
# Symlinks to create
|
# Symlinks to create
|
||||||
symlinks = { 'Applications': '/Applications', 'Install in VLC': '.macos_vlc_install.command' }
|
symlinks = { 'Applications': '/Applications', 'Install for VLC': '.macos_vlc_install.command', 'Read Me': '.macOS_readme.pdf' }
|
||||||
|
|
||||||
# Volume icon
|
# Volume icon
|
||||||
#
|
#
|
||||||
@ -43,10 +43,10 @@ badge_icon = icon_from_app(application)
|
|||||||
|
|
||||||
# Where to put the icons
|
# Where to put the icons
|
||||||
icon_locations = {
|
icon_locations = {
|
||||||
appname: (80, 80),
|
appname: (150, 110),
|
||||||
'Applications': (280, 80),
|
'Applications': (450, 110),
|
||||||
'syncplay.lua': (80, 240),
|
'Read Me': (100, 285),
|
||||||
'Install in VLC': (280, 240)
|
'Install for VLC': (500, 285)
|
||||||
}
|
}
|
||||||
|
|
||||||
# .. Window configuration ......................................................
|
# .. Window configuration ......................................................
|
||||||
@ -71,7 +71,7 @@ icon_locations = {
|
|||||||
#
|
#
|
||||||
# Other color components may be expressed either in the range 0 to 1, or
|
# Other color components may be expressed either in the range 0 to 1, or
|
||||||
# as percentages (e.g. 60% is equivalent to 0.6).
|
# as percentages (e.g. 60% is equivalent to 0.6).
|
||||||
background = '#bacbe0'
|
background = 'resources/macOS_dmg_bkg.tiff'
|
||||||
|
|
||||||
show_status_bar = False
|
show_status_bar = False
|
||||||
show_tab_view = False
|
show_tab_view = False
|
||||||
@ -81,7 +81,7 @@ show_sidebar = False
|
|||||||
sidebar_width = 180
|
sidebar_width = 180
|
||||||
|
|
||||||
# Window position in ((x, y), (w, h)) format
|
# Window position in ((x, y), (w, h)) format
|
||||||
window_rect = ((100, 100), (360, 400))
|
window_rect = ((100, 100), (600, 460))
|
||||||
|
|
||||||
# Select the default view; must be one of
|
# Select the default view; must be one of
|
||||||
#
|
#
|
||||||
|
BIN
resources/macOS_dmg_bkg.tiff
Normal file
BIN
resources/macOS_dmg_bkg.tiff
Normal file
Binary file not shown.
BIN
resources/macOS_readme.pdf
Normal file
BIN
resources/macOS_readme.pdf
Normal file
Binary file not shown.
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
mkdir -p $HOME/Library/Application\ Support/org.videolan.vlc/lua/intf/
|
mkdir -p $HOME/Library/Application\ Support/org.videolan.vlc/lua/intf/
|
||||||
|
|
||||||
cp /Volumes/Syncplay/syncplay.lua $HOME/Library/Application\ Support/org.videolan.vlc/lua/intf/
|
cp /Volumes/Syncplay/.syncplay.lua $HOME/Library/Application\ Support/org.videolan.vlc/lua/intf/syncplay.lua
|
||||||
|
Loading…
Reference in New Issue
Block a user