mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
Dev (#366)
* 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:
parent
5cec73b6f0
commit
93dc6b4cfb
8 changed files with 10 additions and 6 deletions
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
||||||
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2.7.1
|
uses: jurplel/install-qt-action@v2.13.0
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt-ver }}
|
version: ${{ matrix.qt-ver }}
|
||||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
||||||
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2.7.1
|
uses: jurplel/install-qt-action@v2.13.0
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt-ver }}
|
version: ${{ matrix.qt-ver }}
|
||||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
||||||
# 安装Qt
|
# 安装Qt
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
# 使用外部action。这个action专门用来安装Qt
|
# 使用外部action。这个action专门用来安装Qt
|
||||||
uses: jurplel/install-qt-action@v2.7.1
|
uses: jurplel/install-qt-action@v2.13.0
|
||||||
with:
|
with:
|
||||||
# Version of Qt to install
|
# Version of Qt to install
|
||||||
version: ${{ matrix.qt-ver }}
|
version: ${{ matrix.qt-ver }}
|
||||||
|
|
|
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
||||||
MouseTap::getInstance()->initMouseEventTap();
|
MouseTap::getInstance()->initMouseEventTap();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//加载样式表
|
// load style sheet
|
||||||
QFile file(":/qss/psblack.css");
|
QFile file(":/qss/psblack.css");
|
||||||
if (file.open(QFile::ReadOnly)) {
|
if (file.open(QFile::ReadOnly)) {
|
||||||
QString qss = QLatin1String(file.readAll());
|
QString qss = QLatin1String(file.readAll());
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
dmgbuild==1.3.3
|
dmgbuild==1.4.2
|
|
@ -103,6 +103,7 @@ if /i %cpu_mode% == x86 (
|
||||||
:: 只有在64位下需要这个
|
:: 只有在64位下需要这个
|
||||||
if /i %cpu_mode% == x64 (
|
if /i %cpu_mode% == x64 (
|
||||||
cp "C:\Windows\System32\vcruntime140_1.dll" %publish_path%\vcruntime140_1.dll
|
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
|
::cp "C:\Program Files (x86)\Microsoft Visual Studio\Installer\VCRUNTIME140.dll" %publish_path%\VCRUNTIME140.dll
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
"x": 0.57,
|
"x": 0.57,
|
||||||
"y": 0.26
|
"y": 0.26
|
||||||
},
|
},
|
||||||
|
"speedRatioX": 3.25,
|
||||||
|
"speedRatioY": 1.25,
|
||||||
"smallEyes": {
|
"smallEyes": {
|
||||||
"comment": "小眼睛",
|
"comment": "小眼睛",
|
||||||
"type": "KMT_CLICK",
|
"type": "KMT_CLICK",
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"x": 0.700,
|
"x": 0.700,
|
||||||
"y": 0.410
|
"y": 0.410
|
||||||
},
|
},
|
||||||
"speedRatio": 2
|
"speedRatioX": 3.25,
|
||||||
|
"speedRatioY": 1.25
|
||||||
},
|
},
|
||||||
"keyMapNodes": [{
|
"keyMapNodes": [{
|
||||||
"comment": "退出",
|
"comment": "退出",
|
||||||
|
|
Loading…
Add table
Reference in a new issue