summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts
AgeCommit message (Collapse)Author
2013-11-26MAINT-3489: Make Mac updater script detect prematurely deleted .dmg.Nat Goodspeed
Also, delete it when done.
2013-10-22MAINT-3331: On update, remove com.secondlife.indra.viewer.savedState.Nat Goodspeed
2013-06-11MAINT-2333: Use bouncing progress bar for Linux updater message.Nat Goodspeed
This eliminates the user expectation that s/he must click OK before the updater will begin installing the new viewer.
2013-04-19merge up to latest viewer-development for merge to 3.5.2Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-01-11MAINT-1481: use 'mktemp -d' to generate tempdir.Nat Goodspeed
Responding to Lex's code-review comments.
2013-01-11MAINT-1481: Clean up update_install UI, including error output.Nat Goodspeed
Capture actual error output from mkdir and mv; display it to user. Introduce mysudo function used by sudo_mv function for graphical sudo command. Since update_install actually only displays a single status message, just use zenity --info instead of a zenity progress box: need not update its message. Borrow semantics for clear_message and status functions from xmenity script. Introduce errorbox function so we only have to make zenity/xmessage test once. Move cleanup, onexit to top so we can use for clear_message.
2013-01-11MAINT-1481: Remove xmenity script and viewer_manifest.py references.Nat Goodspeed
2013-01-10MAINT-1481: minor bug fix plus incomplete UI tweaks.Nat Goodspeed
Test for existence of target name using -e rather than -f. (-d would work too, but in this case we must respond to any name collision, whether file or directory.) Instead of terminating on failure, make sudo_mv return rc of the [sudo] mv command to its caller. If the attempt to move new install to actual viewer directory fails, restore previous viewer before failing. When redirecting the script's stderr to updater.log, first save existing stderr to another file descriptor, and restore it when we launch viewer. Otherwise updater.log ends up collecting the viewer's duplicate stderr log output! The construct 'exec ... | program' doesn't work. In fact it causes any other redirections on that command to fail too. Remove it -- real fix pending.
2013-01-09MAINT-1481: remove linux-updater; move logic to Linux update_installNat Goodspeed
Now that the viewer's own background updater logic is responsible for downloading a new installer, the only functionality we still use in linux-updater that couldn't be expressed more simply in bash is the UI. But since most Linux distros capable of running SL at all have zenity, and all will have xmessage, we can handle even the UI part. Add xmenity wrapper script so update_install doesn't have to care which is present, and make the bash script that used to launch linux-updater do the real work.
2013-03-06merge changes for DRTVWR-278Oz Linden
2013-02-25MAINT-2155, DRTVWR-278: Make Mac updater honor app bundle name in .dmg.Nat Goodspeed
If you run "/Applications/Second Life Beta Materials.app", and the version manager directs you to update to a .dmg containing a release candidate whose app bundle name is "Second Life Viewer.app", update_install.py used to copy the contents of "Second Life Viewer.app" into "/Applications/Second Life Beta Materials.app". Changed it so that if the application bundle name differs, we leave the running app bundle alone, installing instead to the app bundle name from the .dmg.
2013-02-22MAINT-2328: Mac updater should not clear (part of) viewer cache.Nat Goodspeed
Remove the offending code.
2013-01-08MAINT-2155: Match window title of mac-updater.app's message windowNat Goodspeed
2013-01-08MAINT-2155: when permitting missing old logfile, check for ENOENTNat Goodspeed
instead of errno.EEXIST. Sigh.
2013-01-05MAINT-2155: replace embedded mac-updater.app with a Python script.Nat Goodspeed
Remove mac-updater subtree from viewer source, along with the update_install bash script that invoked it. Remove all mention of mac-updater in CMakeLists.txt files and in viewer_manifest.py. Change Mac update_install bash script references in viewer_manifest.py and in llupdaterservice.cpp (which invokes it) to new Python update_install.py. Add update_install.py, messageframe.py (which puts up some Tkinter UI) and janitor.py (cloned from vita, it's exactly what we need here).
2011-11-15mergeDave Parks
2011-09-30SH-2515 WIP - changed app name in linux updater, dir name in windows installerBrad Payne (Vir Linden)
2011-09-30SH-2515 WIP - changed app name in mac-updaterBrad Payne (Vir Linden)
2010-12-16Vary install failed message depending on whether it was required or not.Andrew A. de Laix
2010-12-14Mergebrad kittenbrink
2010-12-10Defensive coding for linux updater script for consistency with alain's work ↵brad kittenbrink
on the mac script. Should be safer if the user is installing to a path with spaces in it.
2010-12-10fix quoting in script to work with spaces in directory names.Andrew A. de Laix
2010-12-10fix working directory in install script and remove dependency on open option ↵Andrew A. de Laix
--args which is 10.6 only. Also fix erroneous check in process launcher which was mistakenly reporting a failed execution of the new updater script.
2010-11-29Attempted fix for CHOP-223: fixed executable permissions on update_install ↵brad kittenbrink
script for mac and linux.
2010-11-19Merged latest lindenlab/viewer-development with ↵brad kittenbrink
mani_linden/viewer-development for bacground updater work.
2010-11-17CHOP-203 Deleting the update file after installer run.Mark Palange (Mani)
2010-11-16CHOP-209 Added marker creation, fixed updater crash bugMark Palange (Mani)
2010-11-16mergeMark Palange (Mani)
2010-11-16CHOP-179 Linux install uses linux-updater. Rev. by AlainMark Palange (Mani)
2010-11-16clean up installer file after install.Andrew A. de Laix
2010-11-15create marker on error; use /SKIP_DIALOGS option in installer to run without ↵Andrew A. de Laix
user input.
2010-11-15write marker on windows installer fail.Andrew A. de Laix
2010-11-15added mechanism for install scripts to indicate a failed install and for ↵Andrew A. de Laix
update service to note the failure; modified mac installer to write marker on error.
2010-11-11MergeMark Palange (Mani)
2010-11-11hacking mac updater to install from local dmgAndrew A. de Laix
2010-11-11Add very basic windows install script.Andrew A. de Laix
2010-11-10MergeMark Palange (Mani)
2010-11-09beginnings of the update installer (with simple install script for darwin).Andrew A. de Laix