ENH:support backup registry path
jira:[none] Change-Id: Iccf9d2df765f35007affbcf7851de9544f9292ea
This commit is contained in:
parent
60986488e7
commit
c26193281b
|
@ -7799,7 +7799,7 @@ void Plater::priv::on_action_send_to_multi_app(SimpleEvent &)
|
|||
#ifdef WIN32
|
||||
HKEY hKey;
|
||||
|
||||
LONG result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Bambulab\\Bambu Farm Manager Client"), 0, KEY_READ, &hKey);
|
||||
LONG result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Bambulab\\Bambu Farm Manager Client"), 0, KEY_READ, &hKey);
|
||||
LONG result_backup = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("HKEY_CLASSES_ROOT\\bambu-farm-client\\shell\\open\\command"), 0, KEY_READ, &hKey);
|
||||
|
||||
if (result == ERROR_SUCCESS || result_backup == ERROR_SUCCESS) {
|
||||
|
|
Loading…
Reference in New Issue