mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-19 03:52:22 +08:00
为开发版客户端指定不一样的UA防止服务端数据干扰
This commit is contained in:
parent
0697acd9e4
commit
89e326e69e
@ -48,7 +48,11 @@ SpkStore::SpkStore(bool aCli, QString &aLogPath)
|
||||
|
||||
mUserAgentStr = QString("Spark-Store/%1 Distro/%2")
|
||||
.arg(GitVer::DescribeTags())
|
||||
#ifdef NDEBUG
|
||||
.arg(mDistroName);
|
||||
#else
|
||||
.arg(mDistroName + " SparkDeveloper");
|
||||
#endif
|
||||
|
||||
// Finish all essential initialization before this.
|
||||
if(aCli)
|
||||
|
Loading…
x
Reference in New Issue
Block a user