Changelog: v0.4.5
This commit is contained in:
parent
0c3f9863a5
commit
bdd1a68b1c
|
@ -1,6 +1,6 @@
|
||||||
# ChangeLog
|
# ChangeLog
|
||||||
|
|
||||||
## v0.4.4
|
## v0.4.4 & 0.4.5
|
||||||
|
|
||||||
禁将增强;修复bug
|
禁将增强;修复bug
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(FreeKill VERSION 0.4.4)
|
project(FreeKill VERSION 0.4.5)
|
||||||
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
|
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS
|
find_package(Qt6 REQUIRED COMPONENTS
|
||||||
|
|
|
@ -109,6 +109,7 @@ Flickable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
Text {
|
Text {
|
||||||
id: warning
|
id: warning
|
||||||
anchors.rightMargin: 8
|
anchors.rightMargin: 8
|
||||||
|
@ -121,6 +122,7 @@ Flickable {
|
||||||
text: luatr("No enough generals")
|
text: luatr("No enough generals")
|
||||||
color: "red"
|
color: "red"
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.rightMargin: 8
|
anchors.rightMargin: 8
|
||||||
|
@ -158,7 +160,7 @@ Flickable {
|
||||||
spacing: 16
|
spacing: 16
|
||||||
Button {
|
Button {
|
||||||
text: luatr("OK")
|
text: luatr("OK")
|
||||||
enabled: !(warning.visible)
|
// enabled: !(warning.visible)
|
||||||
onClicked: {
|
onClicked: {
|
||||||
config.saveConf();
|
config.saveConf();
|
||||||
root.finished();
|
root.finished();
|
||||||
|
|
|
@ -132,10 +132,10 @@ Flickable {
|
||||||
const s = config.curScheme;
|
const s = config.curScheme;
|
||||||
if (!checked) {
|
if (!checked) {
|
||||||
s.banPkg[orig_name] = [];
|
s.banPkg[orig_name] = [];
|
||||||
s.normalPkg[orig_name] = undefined;
|
delete s.normalPkg[orig_name];
|
||||||
} else {
|
} else {
|
||||||
s.normalPkg[orig_name] = undefined;
|
delete s.normalPkg[orig_name];
|
||||||
s.banPkg[orig_name] = undefined;
|
delete s.banPkg[orig_name];
|
||||||
}
|
}
|
||||||
lcall("UpdatePackageEnable", orig_name, checked);
|
lcall("UpdatePackageEnable", orig_name, checked);
|
||||||
config.curSchemeChanged();
|
config.curSchemeChanged();
|
||||||
|
|
|
@ -92,12 +92,13 @@ Item {
|
||||||
const name = modelData;
|
const name = modelData;
|
||||||
let s = config.curScheme;
|
let s = config.curScheme;
|
||||||
if (s.banPkg[name]) {
|
if (s.banPkg[name]) {
|
||||||
s.banPkg[name] = undefined;
|
delete s.banPkg[name];
|
||||||
s.normalPkg[name] = undefined;
|
delete s.normalPkg[name];
|
||||||
} else {
|
} else {
|
||||||
s.normalPkg[name] = undefined;
|
delete s.normalPkg[name];
|
||||||
s.banPkg[name] = [];
|
s.banPkg[name] = [];
|
||||||
}
|
}
|
||||||
|
console.log(JSON.stringify(config.curScheme))
|
||||||
config.curSchemeChanged();
|
config.curSchemeChanged();
|
||||||
} else {
|
} else {
|
||||||
pkgList.currentIndex = index;
|
pkgList.currentIndex = index;
|
||||||
|
@ -135,7 +136,7 @@ Item {
|
||||||
}
|
}
|
||||||
elide: Label.ElideLeft
|
elide: Label.ElideLeft
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
font.pixelSize: 24
|
font.pixelSize: 28
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
Item { Layout.fillWidth: true }
|
||||||
|
@ -149,6 +150,7 @@ Item {
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
text: luatr("Search")
|
text: luatr("Search")
|
||||||
|
font.pixelSize: 20
|
||||||
enabled: word.text !== ""
|
enabled: word.text !== ""
|
||||||
onClicked: {
|
onClicked: {
|
||||||
pkgList.currentIndex = 0;
|
pkgList.currentIndex = 0;
|
||||||
|
@ -158,6 +160,7 @@ Item {
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
id: banButton
|
id: banButton
|
||||||
|
font.pixelSize: 20
|
||||||
text: {
|
text: {
|
||||||
if (stat === 2) return luatr("OK");
|
if (stat === 2) return luatr("OK");
|
||||||
return luatr("BanGeneral");
|
return luatr("BanGeneral");
|
||||||
|
@ -174,6 +177,7 @@ Item {
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
id: banPkgButton
|
id: banPkgButton
|
||||||
|
font.pixelSize: 20
|
||||||
text: {
|
text: {
|
||||||
if (stat === 1) return luatr("OK");
|
if (stat === 1) return luatr("OK");
|
||||||
return luatr("BanPackage");
|
return luatr("BanPackage");
|
||||||
|
@ -190,6 +194,7 @@ Item {
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
text: luatr("Quit")
|
text: luatr("Quit")
|
||||||
|
font.pixelSize: 20
|
||||||
onClicked: {
|
onClicked: {
|
||||||
mainStack.pop();
|
mainStack.pop();
|
||||||
config.saveConf();
|
config.saveConf();
|
||||||
|
|
|
@ -1163,14 +1163,15 @@ Item {
|
||||||
const idx = parseInt(splited[1]);
|
const idx = parseInt(splited[1]);
|
||||||
const gene = splited[2];
|
const gene = splited[2];
|
||||||
|
|
||||||
try {
|
if (!config.disableMsgAudio)
|
||||||
callbacks["LogEvent"](JSON.stringify({
|
try {
|
||||||
type: "PlaySkillSound",
|
callbacks["LogEvent"](JSON.stringify({
|
||||||
name: skill,
|
type: "PlaySkillSound",
|
||||||
general: gene,
|
name: skill,
|
||||||
i: idx,
|
general: gene,
|
||||||
}));
|
i: idx,
|
||||||
} catch (e) {}
|
}));
|
||||||
|
} catch (e) {}
|
||||||
const m = luatr("$" + skill + (gene ? "_" + gene : "")
|
const m = luatr("$" + skill + (gene ? "_" + gene : "")
|
||||||
+ (idx ? idx.toString() : ""));
|
+ (idx ? idx.toString() : ""));
|
||||||
data.msg = m;
|
data.msg = m;
|
||||||
|
|
|
@ -82,7 +82,7 @@ RowLayout {
|
||||||
expanded_piles[pile] = [];
|
expanded_piles[pile] = [];
|
||||||
let ids, footnote;
|
let ids, footnote;
|
||||||
if (pile === "_equip") {
|
if (pile === "_equip") {
|
||||||
ids = self.equipArea.getAllCards();
|
ids = self.equipArea.getAllCards().map(e => e.cid);
|
||||||
footnote = "$Equip";
|
footnote = "$Equip";
|
||||||
} else if (pile === "_extra") {
|
} else if (pile === "_extra") {
|
||||||
ids = extra_ids;
|
ids = extra_ids;
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.notify.FreeKill"
|
package="org.notify.FreeKill"
|
||||||
android:installLocation="preferExternal"
|
android:installLocation="preferExternal"
|
||||||
android:versionCode="404"
|
android:versionCode="405"
|
||||||
android:versionName="0.4.4">
|
android:versionName="0.4.5">
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
|
|
|
@ -311,7 +311,7 @@ FreeKill使用的是libgit2的C API,与此同时使用Git完成拓展包的下
|
||||||
["Resume"] = "继续",
|
["Resume"] = "继续",
|
||||||
|
|
||||||
["Bulletin Info"] = [==[
|
["Bulletin Info"] = [==[
|
||||||
## v0.4.4
|
## v0.4.5
|
||||||
|
|
||||||
禁将体验优化,然而烦请重新禁将。请善用禁用拓展包与白名单功能,旧方案已经不可导入。
|
禁将体验优化,然而烦请重新禁将。请善用禁用拓展包与白名单功能,旧方案已经不可导入。
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue