Skip to content

Commit

Permalink
Dev (#366)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
barry-ran authored Mar 6, 2021
1 parent 5cec73b commit 93dc6b4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion QtScrcpy/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion ci/mac/package/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dmgbuild==1.3.3
dmgbuild==1.4.2
1 change: 1 addition & 0 deletions ci/win/publish_for_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions keymap/gameforpeace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"x": 0.57,
"y": 0.26
},
"speedRatioX": 3.25,
"speedRatioY": 1.25,
"smallEyes": {
"comment": "小眼睛",
"type": "KMT_CLICK",
Expand Down
3 changes: 2 additions & 1 deletion keymap/identityv.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"x": 0.700,
"y": 0.410
},
"speedRatio": 2
"speedRatioX": 3.25,
"speedRatioY": 1.25
},
"keyMapNodes": [{
"comment": "退出",
Expand Down

0 comments on commit 93dc6b4

Please sign in to comment.