diff options
author | Jacek Antonelli | 2008-10-14 19:55:17 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-14 20:30:37 -0500 |
commit | e9d939e0e612f8c6b6c435eb99a6803207e081b2 (patch) | |
tree | 1dc9ba334edb02cd606ff479f5dbfc5b166760c5 /linden/indra/mac_updater/mac_updater.cpp | |
parent | Rebranded Linux-specific installer/support files. (diff) | |
download | meta-impy-e9d939e0e612f8c6b6c435eb99a6803207e081b2.zip meta-impy-e9d939e0e612f8c6b6c435eb99a6803207e081b2.tar.gz meta-impy-e9d939e0e612f8c6b6c435eb99a6803207e081b2.tar.bz2 meta-impy-e9d939e0e612f8c6b6c435eb99a6803207e081b2.tar.xz |
Rebranded Mac-specific installer/support files.
Replaced instances of "Second Life" with "Imprudence", etc.
Diffstat (limited to 'linden/indra/mac_updater/mac_updater.cpp')
-rw-r--r-- | linden/indra/mac_updater/mac_updater.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/mac_updater/mac_updater.cpp b/linden/indra/mac_updater/mac_updater.cpp index c2f9f4d..7bffff5 100644 --- a/linden/indra/mac_updater/mac_updater.cpp +++ b/linden/indra/mac_updater/mac_updater.cpp | |||
@@ -378,7 +378,7 @@ int main(int argc, char **argv) | |||
378 | } | 378 | } |
379 | else | 379 | else |
380 | { | 380 | { |
381 | gProductName = "Second Life"; | 381 | gProductName = "Imprudence"; |
382 | } | 382 | } |
383 | } | 383 | } |
384 | 384 | ||
@@ -471,7 +471,7 @@ int main(int argc, char **argv) | |||
471 | err = CreateStandardAlert( | 471 | err = CreateStandardAlert( |
472 | kAlertStopAlert, | 472 | kAlertStopAlert, |
473 | CFSTR("Error"), | 473 | CFSTR("Error"), |
474 | CFSTR("An error occurred while updating Second Life. Please download the latest version from www.secondlife.com."), | 474 | CFSTR("An error occurred while updating Imprudence. Please download the latest version from http://imprudenceviewer.org/download/"), |
475 | ¶ms, | 475 | ¶ms, |
476 | &alert); | 476 | &alert); |
477 | 477 | ||
@@ -934,7 +934,7 @@ void *updatethreadproc(void*) | |||
934 | 934 | ||
935 | #endif // 0 *HACK for DEV-11935 | 935 | #endif // 0 *HACK for DEV-11935 |
936 | 936 | ||
937 | strncat(temp, "/SecondLifeUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); | 937 | strncat(temp, "/ImprudenceUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); |
938 | if(mkdtemp(temp) == NULL) | 938 | if(mkdtemp(temp) == NULL) |
939 | { | 939 | { |
940 | throw 0; | 940 | throw 0; |
@@ -952,7 +952,7 @@ void *updatethreadproc(void*) | |||
952 | 952 | ||
953 | chdir(tempDir); | 953 | chdir(tempDir); |
954 | 954 | ||
955 | snprintf(temp, sizeof(temp), "SecondLife.dmg"); | 955 | snprintf(temp, sizeof(temp), "Imprudence.dmg"); |
956 | 956 | ||
957 | downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ | 957 | downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ |
958 | if(downloadFile == NULL) | 958 | if(downloadFile == NULL) |
@@ -999,7 +999,7 @@ void *updatethreadproc(void*) | |||
999 | // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, | 999 | // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, |
1000 | // but if our cleanup fails, this makes it much harder for the user to unmount the image. | 1000 | // but if our cleanup fails, this makes it much harder for the user to unmount the image. |
1001 | std::string mountOutput; | 1001 | std::string mountOutput; |
1002 | FILE* mounter = popen("hdiutil attach SecondLife.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ | 1002 | FILE* mounter = popen("hdiutil attach Imprudence.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ |
1003 | 1003 | ||
1004 | if(mounter == NULL) | 1004 | if(mounter == NULL) |
1005 | { | 1005 | { |