electron-screenshots 0.5.11 → 0.5.12
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 +2 -2
- package/package.json +3 -3
package/lib/screenshots.js
CHANGED
|
@@ -237,8 +237,8 @@ var Screenshots = /** @class */ (function (_super) {
|
|
|
237
237
|
show: false,
|
|
238
238
|
autoHideMenuBar: true,
|
|
239
239
|
transparent: true,
|
|
240
|
-
// resizable 设置为 false 会导致页面崩溃
|
|
241
|
-
|
|
240
|
+
// mac resizable 设置为 false 会导致页面崩溃
|
|
241
|
+
resizable: process.platform !== 'darwin',
|
|
242
242
|
movable: false,
|
|
243
243
|
// focusable: true, 否则窗口不能及时响应esc按键,输入框也不能输入
|
|
244
244
|
focusable: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electron-screenshots",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.12",
|
|
4
4
|
"description": "electron 截图插件",
|
|
5
5
|
"types": "lib/screenshots.d.ts",
|
|
6
6
|
"main": "lib/screenshots.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"debug": "^4.3.3",
|
|
39
39
|
"fs-extra": "^10.1.0",
|
|
40
|
-
"node-screenshots": "^0.0.
|
|
40
|
+
"node-screenshots": "^0.0.11",
|
|
41
41
|
"react-screenshots": "^0.5.10"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
59
|
"typescript": "^4.5.5"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9e8c448e2255ac3c10cfc98af4306ad952cf2e64"
|
|
62
62
|
}
|