Merge pull request #107 from DuckSoft/dev, Fixed #105

更改 v2ray 内核放置提示信息
This commit is contained in:
Leroy.H.Y 2019-10-14 08:05:33 +08:00 committed by GitHub
commit a1f8ae608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,9 @@ bool initQv()
if (!QDir(QV2RAY_V2RAY_CORE_DIR_PATH).exists()) {
QDir().mkdir(QV2RAY_V2RAY_CORE_DIR_PATH);
LOG(MODULE_INIT, "Created dir for v2ray core and assets.")
QFile _readmeFile(QV2RAY_V2RAY_CORE_DIR_PATH + "Put your v2ray.exe here.txt");
QFile _readmeFile(QV2RAY_V2RAY_CORE_DIR_PATH + "Put your v2ray core here.txt");
_readmeFile.open(QIODevice::WriteOnly);
_readmeFile.write("Please put your v2ray.exe and assets here!");
_readmeFile.write("Please put your v2ray core and assets here!");
_readmeFile.close();
LOG(MODULE_INIT, "Done generating readme.")
}