forked from Silverfish/proton-bridge
GODT-2157: Add Sentry to Bridge-Gui
This commit is contained in:
committed by
Romain Le Jeune
parent
1c374b59d3
commit
2747f3b492
@ -167,6 +167,16 @@ QString userLogsDir()
|
||||
return path;
|
||||
}
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return sentry cache directory used by bridge.
|
||||
//****************************************************************************************************************************************************
|
||||
QString sentryCacheDir()
|
||||
{
|
||||
QString const path = QDir(userDataDir()).absoluteFilePath("sentry_cache");
|
||||
QDir().mkpath(path);
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return The value GOOS would return for the current platform.
|
||||
|
||||
Reference in New Issue
Block a user