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

更改 v2ray 内核放置提示信息

Former-commit-id: a1f8ae608e
This commit is contained in:
Leroy.H.Y 2019-10-14 08:05:33 +08:00 committed by GitHub
commit bbde360e38

View File

@ -24,9 +24,9 @@ bool initQv()
if (!QDir(QV2RAY_V2RAY_CORE_DIR_PATH).exists()) { if (!QDir(QV2RAY_V2RAY_CORE_DIR_PATH).exists()) {
QDir().mkdir(QV2RAY_V2RAY_CORE_DIR_PATH); QDir().mkdir(QV2RAY_V2RAY_CORE_DIR_PATH);
LOG(MODULE_INIT, "Created dir for v2ray core and assets.") 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.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(); _readmeFile.close();
LOG(MODULE_INIT, "Done generating readme.") LOG(MODULE_INIT, "Done generating readme.")
} }