Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
The Eclipse Integrated Computational Environment
ice
Commits
8ca97224
Commit
8ca97224
authored
Dec 11, 2015
by
arbennett
Browse files
Merge remote-tracking branch 'origin/master' into next
parents
6953a4ad
95f8908a
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.eclipse.ice.installer/Install_ICE.py
View file @
8ca97224
...
...
@@ -430,10 +430,16 @@ def osx_post(opts, pkgs):
f
.
write
(
'
\n
export DYLD_LIBRARY_PATH='
+
visit_libdir
+
':$DYLD_LIBRARY_PATH'
)
f
.
write
(
'
\n
exec `dirname $0`/ICE $0'
)
f
.
write
(
'
\n
'
)
os
.
chmod
(
os
.
path
.
join
(
opts
.
prefix
,
"ICE.app"
,
"Contents"
,
"MacOS"
,
"ice.sh"
),
stat
.
S_IXUSR
)
ice_preferences
=
find_file
(
opts
.
prefix
,
'ICE.ini'
)
with
open
(
ice_preferences
,
'a'
)
as
f
:
f
.
write
(
"
\n
-Xdock:name=Eclipse ICE"
)
os
.
chmod
(
os
.
path
.
join
(
opts
.
prefix
,
"ICE.app"
,
"Contents"
,
"MacOS"
,
"ice.sh"
),
stat
.
S_IXUSR
|
\
stat
.
S_IRUSR
|
\
stat
.
S_IWUSR
|
\
stat
.
S_IRGRP
|
\
stat
.
S_IWGRP
|
\
stat
.
S_IROTH
|
\
stat
.
S_IWOTH
)
subprocess
.
Popen
(
plutil_cmd
)
subprocess
.
Popen
(
lsregister_cmd
)
subprocess
.
Popen
(
ln_cmd
)
...
...
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