diff --git a/clientgui/mac/CE_ss_logo.tiff b/clientgui/mac/CE_ss_logo.tiff new file mode 100644 index 0000000000..308454b6b2 Binary files /dev/null and b/clientgui/mac/CE_ss_logo.tiff differ diff --git a/clientgui/res/CE_Install.icns b/clientgui/res/CE_Install.icns new file mode 100644 index 0000000000..05f58047ec Binary files /dev/null and b/clientgui/res/CE_Install.icns differ diff --git a/clientgui/res/CE_Uninstall.icns b/clientgui/res/CE_Uninstall.icns new file mode 100644 index 0000000000..658285a7ae Binary files /dev/null and b/clientgui/res/CE_Uninstall.icns differ diff --git a/clientgui/res/CharityEngine.icns b/clientgui/res/CharityEngine.icns new file mode 100644 index 0000000000..fd2a61e86e Binary files /dev/null and b/clientgui/res/CharityEngine.icns differ diff --git a/mac_installer/PostInstall.cpp b/mac_installer/PostInstall.cpp index 022cb7ff23..757de4a1dc 100755 --- a/mac_installer/PostInstall.cpp +++ b/mac_installer/PostInstall.cpp @@ -108,7 +108,7 @@ void strip_cr(char *buf); extern int check_security(char *bundlePath, char *dataPath, int use_sandbox, int isManager); -#define NUMBRANDS 3 +#define NUMBRANDS 4 /* globals */ static Boolean gCommandLineInstall = false; @@ -183,6 +183,13 @@ int main(int argc, char *argv[]) saverNameEscaped[2] = "Progress\\ Thru\\ Processors"; receiptNameEscaped[2] = "/Library/Receipts/Progress\\ Thru\\ Processors\\ Installer.pkg"; + appName[3] = "/Applications/Charity Engine Desktop.app"; + appNameEscaped[3] = "/Applications/Charity\\ Engine\\ Desktop.app"; + brandName[3] = "Charity Engine"; + saverName[3] = "Charity Engine"; + saverNameEscaped[3] = "Charity\\ Engine"; + receiptNameEscaped[3] = "/Library/Receipts/Charity\\ Engine\\ Installer.pkg"; + ::GetCurrentProcess (&ourProcess); puts("Starting PostInstall app\n"); @@ -752,6 +759,7 @@ Boolean SetLoginItem(long brandID, Boolean deleteLogInItem) // if (strcmp(p, "BOINCMANAGER.APP") == 0) // if (strcmp(p, "GRIDREPUBLIC DESKTOP.APP") == 0) // if (strcmp(p, "PROGRESS THRU PROCESSORS DESKTOP.APP") == 0) + // if (strcmp(p, "CHARITY ENGINE.APP") == 0) if (strcmp(p, s) == 0) { Success = RemoveLoginItemAtIndex(kCurrentUser, Counter-1); }