Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit 40a8a0e

Browse files
authored
fix: 修复依赖导致报错 (#409)
* 修改linux打包依赖 * feat: 修改ci * feat: 升级依赖 * feat: 修复bug
1 parent 12f134c commit 40a8a0e

File tree

5 files changed

+2411
-2718
lines changed

5 files changed

+2411
-2718
lines changed

.github/workflows/PullRequestCheck.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,16 @@ jobs:
1919
uses: actions/checkout@v2
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2323
with:
2424
node-version: 16.x
25+
cache: yarn
26+
27+
- name: Cache NPM dependencies
28+
uses: actions/cache@v3
29+
with:
30+
path: node_modules
31+
key: npm-cache-${{ matrix.os }}
2532

2633
- name: Install Dependencies
2734
run: yarn

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,16 @@ jobs:
1919
uses: actions/checkout@v2
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2323
with:
2424
node-version: 16.x
25+
cache: yarn
26+
27+
- name: Cache NPM dependencies
28+
uses: actions/cache@v3
29+
with:
30+
path: node_modules
31+
key: npm-cache-${{ matrix.os }}
2532

2633
- name: Install Dependencies
2734
run: yarn

electron-builder.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,13 @@ nsis:
5555
allowToChangeInstallationDirectory: true
5656
displayLanguageSelector: true
5757
language: 2052
58+
deb:
59+
depends:
60+
- libc6
61+
- libx11-6
62+
- libxrandr2
63+
rpm:
64+
depends:
65+
- libc6
66+
- libx11-6
67+
- libxrandr2

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dingtalk",
3-
"version": "2.1.15",
3+
"version": "2.1.16",
44
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS",
55
"author": "nashaofu <diaocheng@outlook.com>",
66
"main": "dist/main.js",
@@ -31,7 +31,7 @@
3131
"@sentry/electron": "^2.5.4",
3232
"axios": "^0.25.0",
3333
"electron-localshortcut": "^3.2.1",
34-
"electron-screenshots": "^0.3.1",
34+
"electron-screenshots": "^0.3.2",
3535
"electron-updater": "^4.6.1",
3636
"lodash": "^4.17.21",
3737
"normalize.css": "^8.0.1",

0 commit comments

Comments
 (0)