This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: 修复应用不能打开问题
- Loading branch information
Showing
8 changed files
with
500 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ module.exports = { | |
'@babel/preset-env', | ||
{ | ||
targets: { | ||
electron: 15 | ||
electron: 16 | ||
} | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "dingtalk", | ||
"version": "2.1.14", | ||
"version": "2.1.13", | ||
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS", | ||
"author": "nashaofu <[email protected]>", | ||
"main": "dist/main.js", | ||
|
@@ -27,27 +27,28 @@ | |
"Windows" | ||
], | ||
"dependencies": { | ||
"@babel/runtime": "^7.16.3", | ||
"@babel/runtime": "^7.16.5", | ||
"@sentry/electron": "^2.5.4", | ||
"axios": "^0.24.0", | ||
"electron-localshortcut": "^3.2.1", | ||
"electron-screenshots": "^0.1.3", | ||
"electron-updater": "^4.3.9", | ||
"electron-updater": "^4.6.1", | ||
"lodash": "^4.17.21", | ||
"normalize.css": "^8.0.1", | ||
"vue": "^2.6.14" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/eslint-parser": "^7.16.3", | ||
"@babel/plugin-proposal-class-properties": "^7.16.0", | ||
"@babel/plugin-proposal-export-default-from": "^7.16.0", | ||
"@babel/plugin-transform-runtime": "^7.16.4", | ||
"@babel/preset-env": "^7.16.4", | ||
"@babel/core": "^7.16.5", | ||
"@babel/eslint-parser": "^7.16.5", | ||
"@babel/plugin-proposal-class-properties": "^7.16.5", | ||
"@babel/plugin-proposal-export-default-from": "^7.16.5", | ||
"@babel/plugin-transform-runtime": "^7.16.5", | ||
"@babel/preset-env": "^7.16.5", | ||
"autoprefixer": "^10.4.0", | ||
"babel-loader": "^8.2.3", | ||
"css-loader": "^6.5.1", | ||
"electron": "^14.2.2", | ||
"electron-builder": "22.10.5", | ||
"electron": "^16.0.5", | ||
"electron-builder": "^22.14.5", | ||
"electron-debug": "^3.2.0", | ||
"electron-dev-webpack-plugin": "^1.0.5", | ||
"electron-devtools-installer": "^3.2.0", | ||
|
@@ -63,7 +64,7 @@ | |
"less-loader": "^10.2.0", | ||
"mini-css-extract-plugin": "^2.4.5", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.4.4", | ||
"postcss": "^8.4.5", | ||
"postcss-loader": "^6.2.1", | ||
"pug": "^3.0.2", | ||
"pug-plain-loader": "^1.1.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
import { app } from 'electron' | ||
import DingTalk from './dingtalk' | ||
import debug from 'electron-debug' | ||
|
||
app.whenReady().then(() => { | ||
// 生产环境添加开发者工具 | ||
debug({ isEnabled: true, showDevTools: false }) | ||
}) | ||
|
||
export default new DingTalk() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.