Skip to content

Commit

Permalink
Update is_extpack_installed
Browse files Browse the repository at this point in the history
  • Loading branch information
computezrmle authored Sep 29, 2024
1 parent 0849391 commit 57274a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/vboxwrapper/vbox_vboxmanage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ bool VBOX_VM::is_extpack_installed() {
command = "list extpacks";

if (vbm_popen(command, output, "extpack detection", false, false) == 0) {
if ((output.find("Oracle VM VirtualBox Extension Pack") != string::npos) && (output.find("VBoxVRDP") != string::npos)) {
if ((output.find("VirtualBox Extension Pack") != string::npos) && (output.find("VBoxVRDP") != string::npos)) {
return true;
}
}
Expand Down

0 comments on commit 57274a3

Please sign in to comment.