aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/mac_updater/mac_updater.cpp
diff options
context:
space:
mode:
authorDavid Seikel2011-02-09 01:57:04 +1000
committerDavid Seikel2011-02-09 01:57:04 +1000
commit6a87cef1d449e8cdf8ebac53994a9a032792cf92 (patch)
treec6f129866713b590e2a02e2199f5b6fd8595438e /linden/indra/mac_updater/mac_updater.cpp
parentMerge branch 'branding' of github.com:onefang/meta-impy into branding (diff)
downloadmeta-impy-6a87cef1d449e8cdf8ebac53994a9a032792cf92.zip
meta-impy-6a87cef1d449e8cdf8ebac53994a9a032792cf92.tar.gz
meta-impy-6a87cef1d449e8cdf8ebac53994a9a032792cf92.tar.bz2
meta-impy-6a87cef1d449e8cdf8ebac53994a9a032792cf92.tar.xz
Change imprudence -> meta-impy, though not the URLs. Probably some will need to be reverted later.
Changed file names to.
Diffstat (limited to 'linden/indra/mac_updater/mac_updater.cpp')
-rw-r--r--linden/indra/mac_updater/mac_updater.cpp10
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 cf9de4b..64afff8 100644
--- a/linden/indra/mac_updater/mac_updater.cpp
+++ b/linden/indra/mac_updater/mac_updater.cpp
@@ -379,7 +379,7 @@ int main(int argc, char **argv)
379 } 379 }
380 else 380 else
381 { 381 {
382 gProductName = "Imprudence"; 382 gProductName = "meta-impy";
383 } 383 }
384 } 384 }
385 385
@@ -472,7 +472,7 @@ int main(int argc, char **argv)
472 err = CreateStandardAlert( 472 err = CreateStandardAlert(
473 kAlertStopAlert, 473 kAlertStopAlert,
474 CFSTR("Error"), 474 CFSTR("Error"),
475 CFSTR("An error occurred while updating Imprudence. Please download the latest version from http://imprudenceviewer.org/download/"), 475 CFSTR("An error occurred while updating meta-impy. Please download the latest version from http://imprudenceviewer.org/download/"),
476 &params, 476 &params,
477 &alert); 477 &alert);
478 478
@@ -935,7 +935,7 @@ void *updatethreadproc(void*)
935 935
936#endif // 0 *HACK for DEV-11935 936#endif // 0 *HACK for DEV-11935
937 937
938 strncat(temp, "/ImprudenceUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); 938 strncat(temp, "/meta-impyUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1);
939 if(mkdtemp(temp) == NULL) 939 if(mkdtemp(temp) == NULL)
940 { 940 {
941 throw 0; 941 throw 0;
@@ -953,7 +953,7 @@ void *updatethreadproc(void*)
953 953
954 chdir(tempDir); 954 chdir(tempDir);
955 955
956 snprintf(temp, sizeof(temp), "Imprudence.dmg"); 956 snprintf(temp, sizeof(temp), "meta-impy.dmg");
957 957
958 downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ 958 downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */
959 if(downloadFile == NULL) 959 if(downloadFile == NULL)
@@ -1000,7 +1000,7 @@ void *updatethreadproc(void*)
1000 // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, 1000 // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder,
1001 // but if our cleanup fails, this makes it much harder for the user to unmount the image. 1001 // but if our cleanup fails, this makes it much harder for the user to unmount the image.
1002 std::string mountOutput; 1002 std::string mountOutput;
1003 FILE* mounter = popen("hdiutil attach Imprudence.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ 1003 FILE* mounter = popen("hdiutil attach meta-impy.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */
1004 1004
1005 if(mounter == NULL) 1005 if(mounter == NULL)
1006 { 1006 {