electron-screenshots 0.5.19 → 0.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/screenshots.js +4 -2
- package/package.json +2 -2
package/lib/screenshots.js
CHANGED
|
@@ -238,11 +238,13 @@ var Screenshots = /** @class */ (function (_super) {
|
|
|
238
238
|
show: false,
|
|
239
239
|
autoHideMenuBar: true,
|
|
240
240
|
transparent: true,
|
|
241
|
-
// mac resizable 设置为
|
|
241
|
+
// mac resizable 设置为 true 会导致应用崩溃
|
|
242
242
|
resizable: process.platform !== 'darwin',
|
|
243
243
|
movable: false,
|
|
244
|
-
// focusable
|
|
244
|
+
// focusable 必须设置为 true, 否则窗口不能及时响应esc按键,输入框也不能输入
|
|
245
245
|
focusable: true,
|
|
246
|
+
// mac fullscreenable 设置为 true 会导致应用崩溃
|
|
247
|
+
fullscreenable: process.platform !== 'darwin',
|
|
246
248
|
/**
|
|
247
249
|
* linux 下必须设置为false,否则不能全屏显示在最上层
|
|
248
250
|
* mac 下设置为false,否则可能会导致程序坞不恢复问题
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electron-screenshots",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.20",
|
|
4
4
|
"description": "electron 截图插件",
|
|
5
5
|
"types": "lib/screenshots.d.ts",
|
|
6
6
|
"main": "lib/screenshots.js",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"rimraf": "^4.4.1",
|
|
59
59
|
"typescript": "^5.0.2"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "d00ff54ee3d3372a043e3cfc16c363e01c9cd01e"
|
|
62
62
|
}
|