mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 18:21:18 -06:00
Windows specific: Only start the 3rd party updater application
if enabled in PrusaSlicer preferences.
This commit is contained in:
parent
45d9e6bddd
commit
50da39d30b
3 changed files with 10 additions and 2 deletions
|
|
@ -954,4 +954,9 @@ void PresetUpdater::on_update_notification_confirm()
|
|||
}
|
||||
}
|
||||
|
||||
bool PresetUpdater::version_check_enabled() const
|
||||
{
|
||||
return p->enabled_version_check;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ public:
|
|||
bool install_bundles_rsrc(std::vector<std::string> bundles, bool snapshot = true) const;
|
||||
|
||||
void on_update_notification_confirm();
|
||||
|
||||
bool version_check_enabled() const;
|
||||
|
||||
private:
|
||||
struct priv;
|
||||
std::unique_ptr<priv> p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue