diff options
| author | Glenn Glazer <coyot@lindenlab.com> | 2016-06-17 11:01:36 -0700 | 
|---|---|---|
| committer | Glenn Glazer <coyot@lindenlab.com> | 2016-06-17 11:01:36 -0700 | 
| commit | eb9cc511de84f2dd54478ffd517eb34bcc6e3d1d (patch) | |
| tree | 1a07cfedf449cf23deb5d9427e67d2818fb78969 /indra | |
| parent | 67438c67aba96fe51dd29eee52bd332286dd2130 (diff) | |
SL-321: retrofit launcher to use InstallerUserMessage
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/viewer_components/manager/SL_Launcher | 14 | 
1 files changed, 6 insertions, 8 deletions
| diff --git a/indra/viewer_components/manager/SL_Launcher b/indra/viewer_components/manager/SL_Launcher index e715546821..fd7d00be0f 100755 --- a/indra/viewer_components/manager/SL_Launcher +++ b/indra/viewer_components/manager/SL_Launcher @@ -15,12 +15,13 @@  # WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,  # COMPLETENESS OR PERFORMANCE.  # $/LicenseInfo$ +# Copyright (c) 2013, Linden Research, Inc.  import argparse  import os  import sys  import subprocess -import Tkinter as tk  +import InstallerUserMessage  cwd = os.path.dirname(os.path.realpath(__file__)) @@ -51,13 +52,10 @@ parser = argparse.ArgumentParser()  args = parser.parse_known_args(sys.argv)  args_list_to_pass = args[1][1:]  args_list_to_pass.insert(0,viewer_binary) -#print "COYOT: arrrrrghs to pass", args_list_to_pass +print "COYOT: arrrrrghs to pass", args_list_to_pass  #to prove we are launching from the script, launch a Tkinter window first -root = tk.Tk() -w = tk.Label(root, text=viewer_binary) -w.pack() -root.after(10000, lambda: root.destroy()) # Destroy the widget after 10 seconds -root.mainloop() +frame2 = InstallerUserMessage(title = "Second Life") +frame2.basic_message(message = viewer_binary, icon_name="head-sl-logo.gif") -viewer_process = subprocess.Popen(args_list_to_pass) +#viewer_process = subprocess.Popen(args_list_to_pass) | 
