Mac installer: correctly determine package name and branding if installer file name has been modified

This commit is contained in:
Charlie Fenton 2017-11-16 06:06:26 -08:00
parent ca920a47bc
commit 7eec5f3d94
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ int main(int argc, char *argv[])
if (p)
*p = '\0';
p = strstr(brand, " Installer.app"); // Strip off trailing " Installer.app"
p = strrchr(brand, ' '); // Strip off last space character and everything following
if (p)
*p = '\0';