From 2b5795c4bce4f0511722e76d024046e7acb7c0d7 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 7 Jul 2009 09:31:07 +0000 Subject: [PATCH] Mac Installer: use escaped form of branded screensaver name when needed svn path=/trunk/boinc/; revision=18571 --- checkin_notes | 2 +- mac_installer/PostInstall.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/checkin_notes b/checkin_notes index 3264f0fcc9..89dcd1f314 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6192,7 +6192,7 @@ David 6 July 2009 boinc_db.inc Charlie 7 July 2009 - - Mac Installer: use escaped form of brand name when needed. + - Mac Installer: use escaped form of branded screensaver name when needed. mac_installer/ PostInstall.cpp diff --git a/mac_installer/PostInstall.cpp b/mac_installer/PostInstall.cpp index 3061ce765a..d44eb54722 100755 --- a/mac_installer/PostInstall.cpp +++ b/mac_installer/PostInstall.cpp @@ -63,7 +63,7 @@ extern int check_security(char *bundlePath, char *dataPath, int use_sandbox, int static Boolean gQuitFlag = false; /* global */ -static char *brandNameEscaped[NUMBRANDS]; +static char *saverNameEscaped[NUMBRANDS]; static char *brandName[NUMBRANDS]; static char *appName[NUMBRANDS]; static char *appNameEscaped[NUMBRANDS]; @@ -108,19 +108,19 @@ int main(int argc, char *argv[]) appName[0] = "/Applications/BOINCManager.app"; appNameEscaped[0] = "/Applications/BOINCManager.app"; brandName[0] = "BOINC"; - brandNameEscaped[0] = "BOINC"; + saverNameEscaped[0] = "BOINCSaver"; receiptNameEscaped[0] = "/Library/Receipts/BOINC.pkg"; appName[1] = "/Applications/GridRepublic Desktop.app"; appNameEscaped[1] = "/Applications/GridRepublic\\ Desktop.app"; brandName[1] = "GridRepublic"; - brandNameEscaped[1] = "GridRepublic"; + saverNameEscaped[1] = "GridRepublic"; receiptNameEscaped[1] = "/Library/Receipts/GridRepublic\\ Desktop.pkg"; appName[2] = "/Applications/Progress Thru Processors Desktop.app"; appNameEscaped[2] = "/Applications/Progress\\ Thru\\ Processors\\ Desktop.app"; brandName[2] = "Progress Thru Processors"; - brandNameEscaped[2] = "Progress\\ Thru\\ Processors"; + saverNameEscaped[2] = "Progress\\ Thru\\ Processors"; receiptNameEscaped[2] = "/Library/Receipts/Progress\\ Thru\\ Processors.pkg"; for (i=0; i