mirror of https://github.com/BOINC/boinc.git
Mac installer: correctly determine package name and branding if installer file name has been modified
This commit is contained in:
parent
ca920a47bc
commit
7eec5f3d94
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue