Browse Source

V1.4.3

- 新增服务器选项"设备切换时重启"
mashiros 1 year ago
parent
commit
45abea9f8b
  1. BIN
      Locales/ja.qm
  2. BIN
      Locales/zh.qm
  3. BIN
      Locales/zh_TW.qm
  4. BIN
      bin/ADVServer.exe
  5. 2
      package.json
  6. 3
      qml/Common.qml
  7. 14
      qml/ServerPreferences.qml

BIN
Locales/ja.qm

Binary file not shown.

BIN
Locales/zh.qm

Binary file not shown.

BIN
Locales/zh_TW.qm

Binary file not shown.

BIN
bin/ADVServer.exe

Binary file not shown.

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "top.mashiros.widget.advp", "name": "top.mashiros.widget.advp",
"version": "1.4.1", "version": "1.4.3",
"title": { "title": {
"en": "ADV Plugin", "en": "ADV Plugin",

3
qml/Common.qml

@ -22,6 +22,9 @@ Item {
"peakthr": 10, "peakthr": 10,
"fps": 35, "fps": 35,
"changespeed": 20 "changespeed": 20
},
"advanced": {
"device_reboot": false
} }
} }
readonly property string iniFile: "../bin/advConfig.ini" readonly property string iniFile: "../bin/advConfig.ini"

14
qml/ServerPreferences.qml

@ -207,6 +207,20 @@ NVG.Window {
} }
} }
P.PreferenceGroup {
Layout.fillWidth: true
name: "advanced"
Heading { text: qsTr("Advanced") }
P.SwitchPreference {
name: "device_reboot"
label: qsTr("Reboot on Device Changed")
message: qsTr("Problems caused by switching devices may be resolved.")
warning: value ? qsTr("The recovery time of the animation when switching devices may increase!") : ""
defaultValue: Common.defaultServerCFG["advanced"]["device_reboot"]
}
}
Component.onCompleted: { Component.onCompleted: {
rootPreference.load(Common.serverCFG) rootPreference.load(Common.serverCFG)
} }

Loading…
Cancel
Save