MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / CheckForUpdates

Method CheckForUpdates

PathCopyCopy/src/PathCopyCopyContextMenuExt.cpp:1223–1233  ·  view source on GitHub ↗

Checks for software updates if needed.

Source from the content-addressed store, hash-verified

1221// Checks for software updates if needed.
1222//
1223void CPathCopyCopyContextMenuExt::CheckForUpdates()
1224{
1225 // See if we're due for an update check.
1226 if (GetSettings().NeedsUpdateCheck()) {
1227 // Mark the last update check as now so that we don't check too often.
1228 GetSettings().SetLastUpdateCheckNow();
1229
1230 // Launch the settings app. It will handle the check.
1231 PCC::SettingsApp().Launch(PCC::SettingsApp::Options().WithUpdateCheck());
1232 }
1233}

Callers

nothing calls this directly

Calls 5

SettingsAppClass · 0.85
OptionsClass · 0.85
NeedsUpdateCheckMethod · 0.80
SetLastUpdateCheckNowMethod · 0.80
LaunchMethod · 0.80

Tested by

no test coverage detected