Skip to content

Commit

Permalink
Merge pull request #6016 from BOINC/dpa_vbox_mac
Browse files Browse the repository at this point in the history
vboxwrapper (Mac): fix startup failure on Mac
  • Loading branch information
AenBleidd authored Jan 21, 2025
2 parents 92466ed + de9b00b commit df43b3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/vboxwrapper/vbox_vboxmanage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int VBOX_VM::initialize() {
}
#endif

// Determine the VirtualBox home directory.
// Determine the 'VirtualBox home directory'.
// NOTE: I'm not sure this is relevant; see
// https://docs.oracle.com/en/virtualization/virtualbox/6.1/admin/TechnicalBackground.html#3.1.3.-Summary-of-Configuration-Data-Locations
//
Expand All @@ -116,6 +116,8 @@ int VBOX_VM::initialize() {
vboxlog_msg("no USERPROFILE - exiting");
exit(1);
}
#elif __APPLE__
home = "/Library/Application Support/BOINC Data";
#else
home = getenv("HOME");
if (home == NULL) {
Expand Down

0 comments on commit df43b3f

Please sign in to comment.