Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
1d1e47ea
Commit
1d1e47ea
authored
Aug 01, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve presentation of dmg package for Mac OS X.
parent
1ed72541
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
CMakeLists.txt
cmake_builder/linphone_package/CMakeLists.txt
+2
-0
linphone-background-dmg.jpg
cmake_builder/linphone_package/linphone-background-dmg.jpg
+0
-0
linphone_dmg.scpt
cmake_builder/linphone_package/linphone_dmg.scpt
+43
-0
No files found.
cmake_builder/linphone_package/CMakeLists.txt
View file @
1d1e47ea
...
...
@@ -279,6 +279,8 @@ set(CPACK_RESOURCE_FILE_LICENSE "${LINPHONE_SOURCE_DIR}/COPYING")
if
(
APPLE
)
set
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
-
${
LINPHONE_GIT_REVISION
}
-mac"
)
set
(
CPACK_DMG_BACKGROUND_IMAGE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/linphone-background-dmg.jpg"
)
set
(
CPACK_DMG_DS_STORE_SETUP_SCRIPT
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/linphone_dmg.scpt"
)
endif
()
if
(
WIN32
)
...
...
cmake_builder/linphone_package/linphone-background-dmg.jpg
0 → 100644
View file @
1d1e47ea
19.2 KB
cmake_builder/linphone_package/linphone_dmg.scpt
0 → 100755
View file @
1d1e47ea
on
run
argv
set
image_name
to
item
1
of
argv
tell
application
"Finder"
tell
disk
image_name
-- open the image the first time and save a DS_Store with just
-- background and icon setup
open
set
current
view
of
container
window
to
icon
view
set
theViewOptions
to
the
icon
view
options
of
container
window
set
background
picture
of
theViewOptions
to
file
".background:background.jpg"
set
arrangement
of
theViewOptions
to
not
arranged
set
icon
size
of
theViewOptions
to
100
delay
1
close
-- next setup the position of the app and Applications symlink
-- plus hide all the window decoration
open
update
without
registering
applications
tell
container
window
set
sidebar
width
to
0
set
statusbar
visible
to
false
set
toolbar
visible
to
false
set
the
bounds
to
{
300
,
100
,
1000
,
520
}
set
position
of
item
"Linphone.app"
to
{
200
,
280
}
set
position
of
item
"Applications"
to
{
500
,
280
}
end
tell
update
without
registering
applications
delay
1
close
-- one last open and close so you can see everything looks correct
open
delay
5
close
end
tell
delay
1
end
tell
end
run
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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