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

Commit

Permalink
fix: 修复依赖导致报错 (#409)
Browse files Browse the repository at this point in the history
* 修改linux打包依赖

* feat: 修改ci

* feat: 升级依赖

* feat: 修复bug
  • Loading branch information
nashaofu authored May 3, 2022
1 parent 12f134c commit 40a8a0e
Show file tree
Hide file tree
Showing 5 changed files with 2,411 additions and 2,718 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/PullRequestCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ jobs:
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: yarn

- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: node_modules
key: npm-cache-${{ matrix.os }}

- name: Install Dependencies
run: yarn
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ jobs:
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: yarn

- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: node_modules
key: npm-cache-${{ matrix.os }}

- name: Install Dependencies
run: yarn
Expand Down
10 changes: 10 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,13 @@ nsis:
allowToChangeInstallationDirectory: true
displayLanguageSelector: true
language: 2052
deb:
depends:
- libc6
- libx11-6
- libxrandr2
rpm:
depends:
- libc6
- libx11-6
- libxrandr2
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dingtalk",
"version": "2.1.15",
"version": "2.1.16",
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS",
"author": "nashaofu <[email protected]>",
"main": "dist/main.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
"@sentry/electron": "^2.5.4",
"axios": "^0.25.0",
"electron-localshortcut": "^3.2.1",
"electron-screenshots": "^0.3.1",
"electron-screenshots": "^0.3.2",
"electron-updater": "^4.6.1",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
Expand Down
Loading

0 comments on commit 40a8a0e

Please sign in to comment.