MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / updaterEnabled

Method updaterEnabled

launcher/Application.cpp:1148–1155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148bool Application::updaterEnabled()
1149{
1150#if defined(Q_OS_MAC)
1151 return BuildConfig.UPDATER_ENABLED;
1152#else
1153 return BuildConfig.UPDATER_ENABLED && QFileInfo(FS::PathCombine(m_rootPath, updaterBinaryName())).isFile();
1154#endif
1155}
1156
1157QString Application::updaterBinaryName()
1158{

Callers 3

MainWindowMethod · 0.80
updatesAllowedChangedMethod · 0.80
checkForUpdatesMethod · 0.80

Calls 2

QFileInfoClass · 0.85
PathCombineFunction · 0.85

Tested by

no test coverage detected