* feat: update speed ratio script

* feat: update install qt script

* feat: update dmgbuild to 1.4.2

* fix: run error on win

* feat: update comment
This commit is contained in:
Barry 2021-03-06 15:47:56 +08:00 committed by GitHub
parent 5cec73b6f0
commit 93dc6b4cfb
8 changed files with 10 additions and 6 deletions

View file

@ -31,7 +31,7 @@ jobs:
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
- name: Install Qt
uses: jurplel/install-qt-action@v2.7.1
uses: jurplel/install-qt-action@v2.13.0
with:
version: ${{ matrix.qt-ver }}
cached: ${{ steps.cache-qt.outputs.cache-hit }}

View file

@ -33,7 +33,7 @@ jobs:
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
- name: Install Qt
uses: jurplel/install-qt-action@v2.7.1
uses: jurplel/install-qt-action@v2.13.0
with:
version: ${{ matrix.qt-ver }}
cached: ${{ steps.cache-qt.outputs.cache-hit }}

View file

@ -54,7 +54,7 @@ jobs:
# 安装Qt
- name: Install Qt
# 使用外部action。这个action专门用来安装Qt
uses: jurplel/install-qt-action@v2.7.1
uses: jurplel/install-qt-action@v2.13.0
with:
# Version of Qt to install
version: ${{ matrix.qt-ver }}

View file

@ -90,7 +90,7 @@ int main(int argc, char *argv[])
MouseTap::getInstance()->initMouseEventTap();
#endif
//加载样式表
// load style sheet
QFile file(":/qss/psblack.css");
if (file.open(QFile::ReadOnly)) {
QString qss = QLatin1String(file.readAll());

View file

@ -1 +1 @@
dmgbuild==1.3.3
dmgbuild==1.4.2

View file

@ -103,6 +103,7 @@ if /i %cpu_mode% == x86 (
:: 只有在64位下需要这个
if /i %cpu_mode% == x64 (
cp "C:\Windows\System32\vcruntime140_1.dll" %publish_path%\vcruntime140_1.dll
cp "C:\Windows\System32\msvcp140_1.dll" %publish_path%\msvcp140_1.dll
)
::cp "C:\Program Files (x86)\Microsoft Visual Studio\Installer\VCRUNTIME140.dll" %publish_path%\VCRUNTIME140.dll

View file

@ -5,6 +5,8 @@
"x": 0.57,
"y": 0.26
},
"speedRatioX": 3.25,
"speedRatioY": 1.25,
"smallEyes": {
"comment": "小眼睛",
"type": "KMT_CLICK",

View file

@ -7,7 +7,8 @@
"x": 0.700,
"y": 0.410
},
"speedRatio": 2
"speedRatioX": 3.25,
"speedRatioY": 1.25
},
"keyMapNodes": [{
"comment": "退出",