add the backup logic to make sure plugin install success

Change-Id: Id9da725ffe2e6d604c2771abf89cf445824793db
This commit is contained in:
lane.wei 2022-08-07 23:43:28 +08:00 committed by Yifan Wu
parent a9e3bb59a0
commit 49fc813383
4 changed files with 37 additions and 5 deletions

View file

@ -75,7 +75,7 @@ class NetworkAgent
{
public:
static int initialize_network_module();
static int initialize_network_module(bool using_backup = false);
static int unload_network_module();
#if defined(_MSC_VER) || defined(_WIN32)
static HMODULE get_bambu_source_entry();