Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
d79846a7
Commit
d79846a7
authored
7 years ago
by
Nat Goodspeed
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-7751: Respond to Coyot's code-review suggestions.
parent
e3254f63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/viewer_manifest.py
+4
-10
4 additions, 10 deletions
indra/newview/viewer_manifest.py
with
4 additions
and
10 deletions
indra/newview/viewer_manifest.py
+
4
−
10
View file @
d79846a7
...
...
@@ -32,6 +32,7 @@
import
shutil
import
errno
import
json
import
plistlib
import
random
import
re
import
stat
...
...
@@ -343,7 +344,7 @@ def _symlinkf_prep_dst(self, src, dst):
# 'dst' is itself a pathname.
dstdir
=
os
.
path
.
dirname
(
dst
)
self
.
cmakedirs
(
dstdir
)
return
dstdir
,
dst
return
(
dstdir
,
dst
)
def
_symlinkf
(
self
,
src
,
dst
,
catch
):
# helper for relsymlinkf() and symlinkf()
...
...
@@ -875,9 +876,6 @@ def is_packaging_viewer(self):
return
True
def
construct
(
self
):
global
plistlib
import
plistlib
# only import for Darwin
# These are the names of the top-level application and the embedded
# applications for the VMP and for the actual viewer, respectively.
# These names, without the .app suffix, determine the flyover text for
...
...
@@ -914,12 +912,8 @@ def construct(self):
os
.
path
.
join
(
'
$(dirname
"
$0
"
)
'
,
os
.
pardir
,
'
Resources
'
,
launcher_app
),
"
SL_Launcher
"
,
# write this file
"
trampoline
"
)
# flag to add to list of copied files
# Script must be executable -- but os.chmod() is pretty low-level:
# if we just chmod(stat.S_IEXEC), we end up with NOTHING BUT x!
# Have to read the existing permissions bits, then supplement with
# x for (user, group, other).
os
.
chmod
(
trampoline
,
stat
.
S_IMODE
(
os
.
stat
(
trampoline
).
st_mode
)
|
stat
.
S_IXUSR
|
stat
.
S_IXGRP
|
stat
.
S_IXOTH
)
# Script must be executable
self
.
run_command
([
"
chmod
"
,
"
+x
"
,
trampoline
])
# Make a symlink to a nested app Frameworks directory that doesn't
# yet exist. We shouldn't need this; the only things that need
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment