Changelog: v0.0.4

This commit is contained in:
notify 2023-03-09 13:32:09 +08:00
parent 590af8cb14
commit 63ae487230
6 changed files with 21 additions and 8 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@ build/
lib/libgit2/
*.o
zh_CN.qm
.fk_ver
fk_ver
# IDE & LSP
.kdev4/

View File

@ -2,6 +2,19 @@
___
## v0.0.4
Tag: v0.0.4
1. 制作了军争包大部分卡牌
2. 在计算完md5后立刻删除flist.txt
3. 修bug
4. 将摸初始牌和执行回合计入事件中
5. 允许使用-DFK_SERVER_ONLY宏来编译不含GUI支持的版本
6. 避免每次启动都复制资源文件
___
## v0.0.3
Tag: v0.0.3

View File

@ -79,8 +79,8 @@ endif()
add_custom_command(
TARGET FreeKill
POST_BUILD
COMMENT "Generating version file .fk_ver"
COMMAND echo ${CMAKE_PROJECT_VERSION} > ${PROJECT_SOURCE_DIR}/.fk_ver
COMMENT "Generating version file fk_ver"
COMMAND echo ${CMAKE_PROJECT_VERSION} > ${PROJECT_SOURCE_DIR}/fk_ver
)
if (${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")

View File

@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.notify.FreeKill"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0">
android:versionCode="4"
android:versionName="0.0.4">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@ -30,7 +30,7 @@ mkdir assets/res/server
cp ../server/init.sql assets/res/server
cp ../LICENSE assets/res
cp ../zh_CN.qm assets/res
cp ../.fk_ver assets/res
cp ../fk_ver assets/res
# Due to Qt Android's bug, we need make sure every directory has a subfile (not subdir)
function fixDir() {

View File

@ -52,9 +52,9 @@ static bool copyPath(const QString &srcFilePath, const QString &tgtFilePath)
#endif
static void installFkAssets(const QString &src, const QString &dest) {
QFile f(dest + "/.fk_ver");
QFile f(dest + "/fk_ver");
if (f.exists() && f.open(QIODevice::ReadOnly)) {
auto ver = f.readAll();
auto ver = f.readLine().simplified();
if (ver == FK_VERSION) {
return;
}