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
365891e0
Commit
365891e0
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
correct windows executable name
parent
08cbabdc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/viewer_manifest.py
+7
-37
7 additions, 37 deletions
indra/newview/viewer_manifest.py
with
7 additions
and
37 deletions
indra/newview/viewer_manifest.py
+
7
−
37
View file @
365891e0
...
@@ -241,13 +241,13 @@ def extract_names(self,src):
...
@@ -241,13 +241,13 @@ def extract_names(self,src):
class
WindowsManifest
(
ViewerManifest
):
class
WindowsManifest
(
ViewerManifest
):
def
final_exe
(
self
):
def
final_exe
(
self
):
if
self
.
default_channel
():
app_suffix
=
"
Test
"
if
self
.
default_gri
d
()
:
channel_type
=
self
.
channel_lowerwor
d
()
return
"
SecondLife.exe
"
if
channel_type
==
'
release
'
:
else
:
app_suffix
=
''
return
"
SecondLifePreview.exe
"
elif
re
.
match
(
'
(beta|project) .*
'
,
channel_type
)
:
else
:
app_suffix
=
''
.
join
(
self
.
channel_unique
().
split
())
return
''
.
join
(
self
.
channel
().
split
())
+
'
.exe
'
return
"
SecondLife
"
+
app_suffix
+
"
.exe
"
def
test_msvcrt_and_copy_action
(
self
,
src
,
dst
):
def
test_msvcrt_and_copy_action
(
self
,
src
,
dst
):
# This is used to test a dll manifest.
# This is used to test a dll manifest.
...
@@ -295,26 +295,9 @@ def test_for_no_msvcrt_manifest_and_copy_action(self, src, dst):
...
@@ -295,26 +295,9 @@ def test_for_no_msvcrt_manifest_and_copy_action(self, src, dst):
else
:
else
:
print
"
Doesn
'
t exist:
"
,
src
print
"
Doesn
'
t exist:
"
,
src
### DISABLED MANIFEST CHECKING for vs2010. we may need to reenable this
# shortly. If this hasn't been reenabled by the 2.9 viewer release then it
# should be deleted -brad
#def enable_crt_manifest_check(self):
# if self.is_packaging_viewer():
# WindowsManifest.copy_action = WindowsManifest.test_msvcrt_and_copy_action
#def enable_no_crt_manifest_check(self):
# if self.is_packaging_viewer():
# WindowsManifest.copy_action = WindowsManifest.test_for_no_msvcrt_manifest_and_copy_action
#def disable_manifest_check(self):
# if self.is_packaging_viewer():
# del WindowsManifest.copy_action
def
construct
(
self
):
def
construct
(
self
):
super
(
WindowsManifest
,
self
).
construct
()
super
(
WindowsManifest
,
self
).
construct
()
#self.enable_crt_manifest_check()
if
self
.
is_packaging_viewer
():
if
self
.
is_packaging_viewer
():
# Find secondlife-bin.exe in the 'configuration' dir, then rename it to the result of final_exe.
# Find secondlife-bin.exe in the 'configuration' dir, then rename it to the result of final_exe.
self
.
path
(
src
=
'
%s/secondlife-bin.exe
'
%
self
.
args
[
'
configuration
'
],
dst
=
self
.
final_exe
())
self
.
path
(
src
=
'
%s/secondlife-bin.exe
'
%
self
.
args
[
'
configuration
'
],
dst
=
self
.
final_exe
())
...
@@ -324,15 +307,11 @@ def construct(self):
...
@@ -324,15 +307,11 @@ def construct(self):
'
llplugin
'
,
'
slplugin
'
,
self
.
args
[
'
configuration
'
]),
'
llplugin
'
,
'
slplugin
'
,
self
.
args
[
'
configuration
'
]),
"
slplugin.exe
"
)
"
slplugin.exe
"
)
#self.disable_manifest_check()
self
.
path2basename
(
"
../viewer_components/updater/scripts/windows
"
,
"
update_install.bat
"
)
self
.
path2basename
(
"
../viewer_components/updater/scripts/windows
"
,
"
update_install.bat
"
)
# Get shared libs from the shared libs staging directory
# Get shared libs from the shared libs staging directory
if
self
.
prefix
(
src
=
os
.
path
.
join
(
os
.
pardir
,
'
sharedlibs
'
,
self
.
args
[
'
configuration
'
]),
if
self
.
prefix
(
src
=
os
.
path
.
join
(
os
.
pardir
,
'
sharedlibs
'
,
self
.
args
[
'
configuration
'
]),
dst
=
""
):
dst
=
""
):
#self.enable_crt_manifest_check()
# Get llcommon and deps. If missing assume static linkage and continue.
# Get llcommon and deps. If missing assume static linkage and continue.
try
:
try
:
self
.
path
(
'
llcommon.dll
'
)
self
.
path
(
'
llcommon.dll
'
)
...
@@ -344,8 +323,6 @@ def construct(self):
...
@@ -344,8 +323,6 @@ def construct(self):
print
err
.
message
print
err
.
message
print
"
Skipping llcommon.dll (assuming llcommon was linked statically)
"
print
"
Skipping llcommon.dll (assuming llcommon was linked statically)
"
#self.disable_manifest_check()
# Mesh 3rd party libs needed for auto LOD and collada reading
# Mesh 3rd party libs needed for auto LOD and collada reading
try
:
try
:
if
self
.
args
[
'
configuration
'
].
lower
()
==
'
debug
'
:
if
self
.
args
[
'
configuration
'
].
lower
()
==
'
debug
'
:
...
@@ -409,8 +386,6 @@ def construct(self):
...
@@ -409,8 +386,6 @@ def construct(self):
self
.
path
(
"
featuretable.txt
"
)
self
.
path
(
"
featuretable.txt
"
)
self
.
path
(
"
featuretable_xp.txt
"
)
self
.
path
(
"
featuretable_xp.txt
"
)
#self.enable_no_crt_manifest_check()
# Media plugins - QuickTime
# Media plugins - QuickTime
if
self
.
prefix
(
src
=
'
../media_plugins/quicktime/%s
'
%
self
.
args
[
'
configuration
'
],
dst
=
"
llplugin
"
):
if
self
.
prefix
(
src
=
'
../media_plugins/quicktime/%s
'
%
self
.
args
[
'
configuration
'
],
dst
=
"
llplugin
"
):
self
.
path
(
"
media_plugin_quicktime.dll
"
)
self
.
path
(
"
media_plugin_quicktime.dll
"
)
...
@@ -490,15 +465,10 @@ def construct(self):
...
@@ -490,15 +465,10 @@ def construct(self):
self
.
end_prefix
()
self
.
end_prefix
()
#self.disable_manifest_check()
# pull in the crash logger and updater from other projects
# pull in the crash logger and updater from other projects
# tag:"crash-logger" here as a cue to the exporter
# tag:"crash-logger" here as a cue to the exporter
self
.
path
(
src
=
'
../win_crash_logger/%s/windows-crash-logger.exe
'
%
self
.
args
[
'
configuration
'
],
self
.
path
(
src
=
'
../win_crash_logger/%s/windows-crash-logger.exe
'
%
self
.
args
[
'
configuration
'
],
dst
=
"
win_crash_logger.exe
"
)
dst
=
"
win_crash_logger.exe
"
)
# For CHOP-397, windows updater no longer used.
# self.path(src='../win_updater/%s/windows-updater.exe' % self.args['configuration'],
# dst="updater.exe")
if
not
self
.
is_packaging_viewer
():
if
not
self
.
is_packaging_viewer
():
self
.
package_file
=
"
copied_deps
"
self
.
package_file
=
"
copied_deps
"
...
...
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