Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vboxwrapper (Mac): fix startup failure on Mac #6016

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading