@overwolf/ow-electron 18.3.0 → 19.0.10
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/LICENSE +1 -0
- package/README.md +24 -11
- package/checksums.json +75 -82
- package/electron.d.ts +74 -14
- package/howto.md +28 -0
- package/install.js +5 -5
- package/package.json +14 -13
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -34,6 +34,17 @@ For more installation options and troubleshooting tips, see
|
|
|
34
34
|
[installation](docs/tutorial/installation.md). For info on how to manage Electron versions in your apps, see
|
|
35
35
|
[Electron versioning](docs/tutorial/electron-versioning.md).
|
|
36
36
|
|
|
37
|
+
## Platform support
|
|
38
|
+
|
|
39
|
+
Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
40
|
+
|
|
41
|
+
* macOS (El Capitan and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
|
|
42
|
+
* Windows (Windows 7 and up): Electron provides `ia32` (`x86`), `x64` (`amd64`), and `arm64` binaries for Windows. Windows on ARM support was added in Electron 5.0.8.
|
|
43
|
+
* Linux: The prebuilt binaries of Electron are built on Ubuntu 20.04. They have also been verified to work on:
|
|
44
|
+
* Ubuntu 14.04 and newer
|
|
45
|
+
* Fedora 24 and newer
|
|
46
|
+
* Debian 8 and newer
|
|
47
|
+
|
|
37
48
|
## Quick start & Electron Fiddle
|
|
38
49
|
|
|
39
50
|
Use [`Electron Fiddle`](https://github.com/electron/fiddle)
|
|
@@ -54,12 +65,10 @@ npm start
|
|
|
54
65
|
|
|
55
66
|
## Resources for learning Electron
|
|
56
67
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- [electron/simple-samples](https://github.com/electron/simple-samples) - Small applications with ideas for taking them further
|
|
62
|
-
- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - An Electron app that teaches you how to use Electron
|
|
68
|
+
* [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
|
|
69
|
+
* [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
|
|
70
|
+
* [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
|
|
71
|
+
* [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
|
|
63
72
|
|
|
64
73
|
## Programmatic usage
|
|
65
74
|
|
|
@@ -80,11 +89,15 @@ const child = proc.spawn(electron)
|
|
|
80
89
|
|
|
81
90
|
### Mirrors
|
|
82
91
|
|
|
83
|
-
|
|
92
|
+
* [China](https://npmmirror.com/mirrors/electron/)
|
|
93
|
+
|
|
94
|
+
See the [Advanced Installation Instructions](https://www.electronjs.org/docs/latest/tutorial/installation#mirror) to learn how to use a custom mirror.
|
|
84
95
|
|
|
85
|
-
## Documentation
|
|
96
|
+
## Documentation translations
|
|
86
97
|
|
|
87
|
-
|
|
98
|
+
We crowdsource translations for our documentation via [Crowdin](https://crowdin.com/project/electron).
|
|
99
|
+
We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese,
|
|
100
|
+
Russian, and Spanish.
|
|
88
101
|
|
|
89
102
|
## Contributing
|
|
90
103
|
|
|
@@ -93,10 +106,10 @@ If you are interested in reporting/fixing issues and contributing directly to th
|
|
|
93
106
|
## Community
|
|
94
107
|
|
|
95
108
|
Info on reporting bugs, getting help, finding third-party tools and sample apps,
|
|
96
|
-
and more can be found
|
|
109
|
+
and more can be found on the [Community page](https://www.electronjs.org/community).
|
|
97
110
|
|
|
98
111
|
## License
|
|
99
112
|
|
|
100
113
|
[MIT](https://github.com/electron/electron/blob/main/LICENSE)
|
|
101
114
|
|
|
102
|
-
When using
|
|
115
|
+
When using Electron logos, make sure to follow [OpenJS Foundation Trademark Policy](https://openjsf.org/wp-content/uploads/sites/84/2021/01/OpenJS-Foundation-Trademark-Policy-2021-01-12.docx.pdf).
|
package/checksums.json
CHANGED
|
@@ -1,84 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"
|
|
13
|
-
"electron-
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
77
|
-
"mksnapshot-v18.3.0-linux-ia32.zip": "0dfecd4ff0a705f2b528d3bd4f89baa83d1269aa5283cc0b2655bf4bf45b4cef",
|
|
78
|
-
"mksnapshot-v18.3.0-linux-x64.zip": "7b84eb0dd35f0035b1cdd8ae90c50f093aae9226e801ee36b60665ec31ff9d9b",
|
|
79
|
-
"mksnapshot-v18.3.0-mas-arm64.zip": "a33a9949327114da5023a7445d55595c840054bb5ed5548c2afa91caf8c104fc",
|
|
80
|
-
"mksnapshot-v18.3.0-mas-x64.zip": "d013d796e6ff652e0cf94e56553fd3762bd6e97d9181c73128374e4a3941a514",
|
|
81
|
-
"mksnapshot-v18.3.0-win32-arm64-x64.zip": "f01d830da849ea88d6ac6759fd71e33f24e914791018466a9c0086196f0bf62c",
|
|
82
|
-
"mksnapshot-v18.3.0-win32-ia32.zip": "81e3e207c941fe94b1c967b11300cd870da1ad7790ee1cf4555b03dfefd655e6",
|
|
83
|
-
"mksnapshot-v18.3.0-win32-x64.zip": "88eb292618da8abbcd309f648783b70423a7e3f358aa5d3d1e41fb054512632c"
|
|
2
|
+
"chromedriver-v19.0.7-darwin-arm64.zip": "cdfacbe982e6baa95636841293bbb178bc5cb167a79c67b34ef474791849b507",
|
|
3
|
+
"chromedriver-v19.0.7-darwin-x64.zip": "6aa0c9c86ef0fb61fae7e461a7a2b39e824a1cecbc6d0029ccd4d606af3729cb",
|
|
4
|
+
"chromedriver-v19.0.7-linux-arm64.zip": "a859fa1d5f9b391bd6f5a8bde0e99ba672623dd88222be7ab954f11cfefd8570",
|
|
5
|
+
"chromedriver-v19.0.7-linux-armv7l.zip": "c522fd8cfa0d6203e813df2ba2b72513b424d319658e7e9e6613cca2def5b827",
|
|
6
|
+
"chromedriver-v19.0.7-linux-x64.zip": "ff3286a2f12c5d34ea7a2970cb46bdc2a90f9b0c9563e9489274963b611e8708",
|
|
7
|
+
"chromedriver-v19.0.7-mas-arm64.zip": "9b90148163522134b2bc08f2a4de0e93de2c742e781d7cd21bfea24f8a5c4736",
|
|
8
|
+
"chromedriver-v19.0.7-mas-x64.zip": "5846fa605c2b68ddc33e285be42330523ec95ac83cfc9e46456a0a1a906f6167",
|
|
9
|
+
"chromedriver-v19.0.7-win32-arm64.zip": "ecdef87e7905a4fcc7be270164ce00ffccb7f258f52793f19abfbb9fda3918ae",
|
|
10
|
+
"chromedriver-v19.0.7-win32-ia32.zip": "68394a13dd851acdf51ce39ed426017c12108dd947bb6b9df00b8f83a4dc005e",
|
|
11
|
+
"chromedriver-v19.0.7-win32-x64.zip": "b90ca44dde72235dab337f7c2ee307ca665cfee5e98b57e4a9fdfd079ce1bec7",
|
|
12
|
+
"electron-api.json": "2925f3a23683ebbd2c8977d396a20c1bd53cb32c7dfc40eb53efb6fce76d1af6",
|
|
13
|
+
"electron-v19.0.7-darwin-arm64-dsym-snapshot.zip": "f2b8298f57f36ab561c4b96137d4028a9c2df88fce8e46f76e87ee12e1ee9c69",
|
|
14
|
+
"electron-v19.0.7-darwin-arm64-dsym.zip": "ebf10f000a1cddea7b5ed3d55675466d85da7e6ab7a1ef8192bf6a2acea08af7",
|
|
15
|
+
"electron-v19.0.7-darwin-arm64-symbols.zip": "d71def86c1427d94b1fd9fe8e3d280a511e2fd1161e43217f07d743f0aacbfbe",
|
|
16
|
+
"electron-v19.0.7-darwin-arm64.zip": "f9042bce83fe8446e22f6885285dd5fc2dca048d0b89cbf7f326a46102ffc440",
|
|
17
|
+
"electron-v19.0.7-darwin-x64-dsym-snapshot.zip": "fb404a8f373bec6da35f3363d4a6786572aba748dd540d0da638e973079d827a",
|
|
18
|
+
"electron-v19.0.7-darwin-x64-dsym.zip": "e3be63e8ee92566747fa7ed050e4fc280e2828f8a74e7f1e61ea3eb90100c651",
|
|
19
|
+
"electron-v19.0.7-darwin-x64-symbols.zip": "fcdfe787e64125cc2bf0a300b9b2cfd5fc5cdbe3039465927e325997b7a1a6ff",
|
|
20
|
+
"electron-v19.0.7-darwin-x64.zip": "2709dd94e22ecfc8e7de0c7a7009160ed79e95ba91618c7307e24c26a33e978b",
|
|
21
|
+
"electron-v19.0.7-linux-arm64-debug.zip": "1fec9e56fd160f6ff7e6d0cda090c9977a7c423cc4a0df72fc56c3738184dcc2",
|
|
22
|
+
"electron-v19.0.7-linux-arm64-symbols.zip": "dbdc4fdf628065a6a469d4f14454bcb9bad7594894bbd3c31c0d141ff71708ff",
|
|
23
|
+
"electron-v19.0.7-linux-arm64.zip": "58685d21bb92c2667d20063ab12aabc2e5c2518f3eda84e98a0fa2306456ce57",
|
|
24
|
+
"electron-v19.0.7-linux-armv7l-debug.zip": "1fec9e56fd160f6ff7e6d0cda090c9977a7c423cc4a0df72fc56c3738184dcc2",
|
|
25
|
+
"electron-v19.0.7-linux-armv7l-symbols.zip": "ae24566fb384c36e0421489eeccaeb8e6d42f2bf48bc9230e87838cdd9ef340b",
|
|
26
|
+
"electron-v19.0.7-linux-armv7l.zip": "d6a6d2d7c0d658695783137d032a50f20843cdfe6582ef985451d741eef4dd32",
|
|
27
|
+
"electron-v19.0.7-linux-x64-debug.zip": "6ed273bed1ef0b1a8a39219d06c5951397c10f66fa610adb5e257b0489562dbc",
|
|
28
|
+
"electron-v19.0.7-linux-x64-symbols.zip": "9b7c27393c8f7afc7d9857ede93e1077c0031b61dc5848e902caea750351f6e2",
|
|
29
|
+
"electron-v19.0.7-linux-x64.zip": "a4c20a068c54c238ae8c440ab8f46d39eda4168d6aa8cffcaae406800b539983",
|
|
30
|
+
"electron-v19.0.7-mas-arm64-dsym-snapshot.zip": "f2b8298f57f36ab561c4b96137d4028a9c2df88fce8e46f76e87ee12e1ee9c69",
|
|
31
|
+
"electron-v19.0.7-mas-arm64-dsym.zip": "34bf274f7f5373abfed8253f31bcbe36e2800ad71a81f72d13e3c053b5d22ab4",
|
|
32
|
+
"electron-v19.0.7-mas-arm64-symbols.zip": "8f16750766473dd406bf70c637ae917009c6528ad80c2e0b0474e5c07048ed25",
|
|
33
|
+
"electron-v19.0.7-mas-arm64.zip": "f9eacc2b4d345f34c5abb3c3adc919a93138fdfab932a82d5fcf2a378fabb5af",
|
|
34
|
+
"electron-v19.0.7-mas-x64-dsym-snapshot.zip": "b0e25c45c58b7faa02c84a47190adddf312d7c7c95d632c1ef2c54506d78ac4d",
|
|
35
|
+
"electron-v19.0.7-mas-x64-dsym.zip": "54d821690f54b18b79e2cdb0e98f65f0d2862a72eead7335efa13d33891641a6",
|
|
36
|
+
"electron-v19.0.7-mas-x64-symbols.zip": "9ab38a23c1fbdef15baaf46f53a1b679bb788556f18a2fb7e9cb3dba65d91a2e",
|
|
37
|
+
"electron-v19.0.7-mas-x64.zip": "83dccef61679f4dd166b84546d9f3312600656d0b442f4ef6bcbfa81bfb475e5",
|
|
38
|
+
"electron-v19.0.7-win32-arm64-pdb.zip": "7b491de98eedae798b0f82213e156d0ea409ac03dc5720e6da44a444d3693ff6",
|
|
39
|
+
"electron-v19.0.7-win32-arm64-symbols.zip": "7b4dacc2f035c62a46a36869232b5ec246e36ef7d96a9e19cf44c725c4d76695",
|
|
40
|
+
"electron-v19.0.7-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
41
|
+
"electron-v19.0.7-win32-arm64.zip": "9fab40adc08e5ac442877263fdef7c49c149f3b6cdb27c41367df2155a6f5f2a",
|
|
42
|
+
"electron-v19.0.7-win32-ia32-pdb.zip": "c657c994cb736f6fab3baa24a535c776c4a38ed9eae67ad794a1d94a83aea581",
|
|
43
|
+
"electron-v19.0.7-win32-ia32-symbols.zip": "258bf4d101c35b062e32dc6446138631804e0cce1f66999366ec9a50b619438c",
|
|
44
|
+
"electron-v19.0.7-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
45
|
+
"electron-v19.0.7-win32-ia32.zip": "570207e794d8fe338cb9b8d463e20daebd487af1580f80a6ccb94769db42f0fa",
|
|
46
|
+
"electron-v19.0.7-win32-x64-pdb.zip": "418e055ba22b1c2408a0631b51c14061e764be54e5eb1fe6a6cb5ab0c2754388",
|
|
47
|
+
"electron-v19.0.7-win32-x64-symbols.zip": "997d4f82b8ce2cfea71a02646f3b1581ea4207987f3e7d71cea96da81b1ca59d",
|
|
48
|
+
"electron-v19.0.7-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
49
|
+
"ow-electron-v19.0.10-win32-x64.zip": "90abb5b597adfe1ac0f744d124dbe7bd910cefce484d4e6c0549aed711367d19",
|
|
50
|
+
"electron.d.ts": "74dc610588cd0f63a55c1337101f6bcef121e4dd19af99cd99cdb5cdbb14554a",
|
|
51
|
+
"ffmpeg-v19.0.7-darwin-arm64.zip": "dc7e141149d193b9dcf701acbbd7da422c9fa46801dfc61e5a9804bc3b0b30e2",
|
|
52
|
+
"ffmpeg-v19.0.7-darwin-x64.zip": "d758f094fd3c641479a240070d1d1b2543911f4a70eb8fd2c52fa8b5cdad48ed",
|
|
53
|
+
"ffmpeg-v19.0.7-linux-arm64.zip": "fa7a57faf1438b2c3ff9bd8eedaa0f9f44d63d9b8a268d96bfc73bc5abdd93a7",
|
|
54
|
+
"ffmpeg-v19.0.7-linux-armv7l.zip": "c6bac847fc4f29d828acf9fca297b9df7ad0735e98da85391063089dd498a4e1",
|
|
55
|
+
"ffmpeg-v19.0.7-linux-x64.zip": "437bf2f1161ddb3bb1f2cfbb1e6453a2372acc83fbf16231cc4b2c9b36f4609b",
|
|
56
|
+
"ffmpeg-v19.0.7-mas-arm64.zip": "f2547e18042b638f20f82007ca290c563fd141b592c9603ba93688dcbd6ca15e",
|
|
57
|
+
"ffmpeg-v19.0.7-mas-x64.zip": "1778601a2098480a6fd906818b3868d85c8bf437acea09c93abdedbb545e861d",
|
|
58
|
+
"ffmpeg-v19.0.7-win32-arm64.zip": "ac5456905a0c530b92f9860025ac48fd7d6ccac5fd628f1fea9c7ab5b5e7417f",
|
|
59
|
+
"ffmpeg-v19.0.7-win32-ia32.zip": "6208d8385746168e891ba22c297818d5114139583e8f7318bdd1eacf4f59fd9b",
|
|
60
|
+
"ffmpeg-v19.0.7-win32-x64.zip": "11fd02ffd14ed32609a4406ca574ce96e841f1bb74a995fa1bef9f7cbc151a9e",
|
|
61
|
+
"hunspell_dictionaries.zip": "dc37fb7f0d4c8a65e75db94971824e57192ef50f4d9aa28b8c7123eda8eceef8",
|
|
62
|
+
"libcxx-objects-v19.0.7-linux-arm64.zip": "cdbef2fa09c3302316b284f7daee63586307d8be5ed9c2b69764164ccd643087",
|
|
63
|
+
"libcxx-objects-v19.0.7-linux-armv7l.zip": "3e1b8c4928c8aa9f9a2c026467dd877b72f61e087a2284366b1b16bc79d8b63c",
|
|
64
|
+
"libcxx-objects-v19.0.7-linux-x64.zip": "df0e4387d2cdcc8c2f797631188c281f7db7ff21126383008e791a58ef30603c",
|
|
65
|
+
"libcxx_headers.zip": "85ee929768ffd051a4c000d9ec71a018b6e1bf8cf91de202109fe5e510c708f5",
|
|
66
|
+
"libcxxabi_headers.zip": "7a9bf166850d60d09b74fad0d35427faf5778c49b692ac825af93eb370b7a1e3",
|
|
67
|
+
"mksnapshot-v19.0.7-darwin-arm64.zip": "ef260509f5dae81123f667b692f8f83cc5babab1f4aaf48f6bb05d33ab446295",
|
|
68
|
+
"mksnapshot-v19.0.7-darwin-x64.zip": "513dae4dccc584edb5e258802d1faa49b06a899947efb59669c4d43c499cbf90",
|
|
69
|
+
"mksnapshot-v19.0.7-linux-arm64-x64.zip": "c1cb9fbd723f1bfbfb43206badbde2ad2707bd928f4e535073dad60acba1f393",
|
|
70
|
+
"mksnapshot-v19.0.7-linux-armv7l-x64.zip": "47bb2b0fec680c1a65731bdb567e0c8fd81ca3cef8905ea7495a5c144fc8f7fc",
|
|
71
|
+
"mksnapshot-v19.0.7-linux-x64.zip": "0b674d74ffc4b10fc2797cba8d2759edf2a55bc43efe4798a4470562c2140db8",
|
|
72
|
+
"mksnapshot-v19.0.7-mas-arm64.zip": "663785ce9aa5ef3cfb709e2045273440c0999e73536d3f398151e65c68646ba6",
|
|
73
|
+
"mksnapshot-v19.0.7-mas-x64.zip": "8b7a531f2a6c9c7b010b728003a7f4f09395ea9b060f71258dca6c2b4d16252d",
|
|
74
|
+
"mksnapshot-v19.0.7-win32-arm64-x64.zip": "f8b028f63f875d9efccd384d8de2e1f3543e16bb4a8e2751000e029842c75ef4",
|
|
75
|
+
"mksnapshot-v19.0.7-win32-ia32.zip": "6bea9bd50138bd1f26b07ea4e999d3356afc8fcf20df3bc3be6414d5fec89cdd",
|
|
76
|
+
"mksnapshot-v19.0.7-win32-x64.zip": "1a04c2e62c4c750fd754dad67686656b7007fab1888b65c22c5ea96a2f96756a"
|
|
84
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 19.0.7
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
|
@@ -2366,10 +2366,14 @@ declare namespace Electron {
|
|
|
2366
2366
|
isMaximized(): boolean;
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Whether menu bar automatically hides itself.
|
|
2369
|
+
*
|
|
2370
|
+
* @platform win32,linux
|
|
2369
2371
|
*/
|
|
2370
2372
|
isMenuBarAutoHide(): boolean;
|
|
2371
2373
|
/**
|
|
2372
2374
|
* Whether the menu bar is visible.
|
|
2375
|
+
*
|
|
2376
|
+
* @platform win32,linux
|
|
2373
2377
|
*/
|
|
2374
2378
|
isMenuBarVisible(): boolean;
|
|
2375
2379
|
/**
|
|
@@ -2432,6 +2436,8 @@ declare namespace Electron {
|
|
|
2432
2436
|
* Whether the window is visible on all workspaces.
|
|
2433
2437
|
*
|
|
2434
2438
|
* **Note:** This API always returns false on Windows.
|
|
2439
|
+
*
|
|
2440
|
+
* @platform darwin,linux
|
|
2435
2441
|
*/
|
|
2436
2442
|
isVisibleOnAllWorkspaces(): boolean;
|
|
2437
2443
|
/**
|
|
@@ -2580,6 +2586,8 @@ declare namespace Electron {
|
|
|
2580
2586
|
*
|
|
2581
2587
|
* If the menu bar is already visible, calling `setAutoHideMenuBar(true)` won't
|
|
2582
2588
|
* hide it immediately.
|
|
2589
|
+
*
|
|
2590
|
+
* @platform win32,linux
|
|
2583
2591
|
*/
|
|
2584
2592
|
setAutoHideMenuBar(hide: boolean): void;
|
|
2585
2593
|
/**
|
|
@@ -2920,6 +2928,8 @@ declare namespace Electron {
|
|
|
2920
2928
|
* Sets whether the window should be visible on all workspaces.
|
|
2921
2929
|
*
|
|
2922
2930
|
* **Note:** This API does nothing on Windows.
|
|
2931
|
+
*
|
|
2932
|
+
* @platform darwin,linux
|
|
2923
2933
|
*/
|
|
2924
2934
|
setVisibleOnAllWorkspaces(visible: boolean, options?: VisibleOnAllWorkspacesOptions): void;
|
|
2925
2935
|
/**
|
|
@@ -2985,6 +2995,8 @@ declare namespace Electron {
|
|
|
2985
2995
|
* by user.
|
|
2986
2996
|
*
|
|
2987
2997
|
* On Linux the setter is a no-op, although the getter returns `true`.
|
|
2998
|
+
*
|
|
2999
|
+
* @platform darwin,win32
|
|
2988
3000
|
*/
|
|
2989
3001
|
closable: boolean;
|
|
2990
3002
|
/**
|
|
@@ -3033,6 +3045,8 @@ declare namespace Electron {
|
|
|
3033
3045
|
* maximized by user.
|
|
3034
3046
|
*
|
|
3035
3047
|
* On Linux the setter is a no-op, although the getter returns `true`.
|
|
3048
|
+
*
|
|
3049
|
+
* @platform darwin,win32
|
|
3036
3050
|
*/
|
|
3037
3051
|
maximizable: boolean;
|
|
3038
3052
|
/**
|
|
@@ -3049,12 +3063,16 @@ declare namespace Electron {
|
|
|
3049
3063
|
* minimized by user.
|
|
3050
3064
|
*
|
|
3051
3065
|
* On Linux the setter is a no-op, although the getter returns `true`.
|
|
3066
|
+
*
|
|
3067
|
+
* @platform darwin,win32
|
|
3052
3068
|
*/
|
|
3053
3069
|
minimizable: boolean;
|
|
3054
3070
|
/**
|
|
3055
3071
|
* A `boolean` property that determines Whether the window can be moved by user.
|
|
3056
3072
|
*
|
|
3057
3073
|
* On Linux the setter is a no-op, although the getter returns `true`.
|
|
3074
|
+
*
|
|
3075
|
+
* @platform darwin,win32
|
|
3058
3076
|
*/
|
|
3059
3077
|
movable: boolean;
|
|
3060
3078
|
/**
|
|
@@ -3090,6 +3108,8 @@ declare namespace Electron {
|
|
|
3090
3108
|
* workspaces.
|
|
3091
3109
|
*
|
|
3092
3110
|
* **Note:** Always returns false on Windows.
|
|
3111
|
+
*
|
|
3112
|
+
* @platform darwin,linux
|
|
3093
3113
|
*/
|
|
3094
3114
|
visibleOnAllWorkspaces: boolean;
|
|
3095
3115
|
/**
|
|
@@ -8490,7 +8510,7 @@ declare namespace Electron {
|
|
|
8490
8510
|
*
|
|
8491
8511
|
* @platform darwin
|
|
8492
8512
|
*/
|
|
8493
|
-
setUserDefault(key: string, type:
|
|
8513
|
+
setUserDefault<Type extends keyof UserDefaultTypes>(key: string, type: Type, value: UserDefaultTypes[Type]): void;
|
|
8494
8514
|
/**
|
|
8495
8515
|
* The ID of this subscription
|
|
8496
8516
|
*
|
|
@@ -9604,7 +9624,8 @@ declare namespace Electron {
|
|
|
9604
9624
|
*/
|
|
9605
9625
|
static getAllWebContents(): WebContents[];
|
|
9606
9626
|
/**
|
|
9607
|
-
* The web contents that is focused in this application, otherwise returns
|
|
9627
|
+
* | null - The web contents that is focused in this application, otherwise returns
|
|
9628
|
+
* `null`.
|
|
9608
9629
|
*/
|
|
9609
9630
|
static getFocusedWebContents(): WebContents;
|
|
9610
9631
|
/**
|
|
@@ -10717,9 +10738,6 @@ declare namespace Electron {
|
|
|
10717
10738
|
* This event can be used to configure `webPreferences` for the `webContents` of a
|
|
10718
10739
|
* `<webview>` before it's loaded, and provides the ability to set settings that
|
|
10719
10740
|
* can't be set via `<webview>` attributes.
|
|
10720
|
-
*
|
|
10721
|
-
* **Note:** The specified `preload` script option will appear as `preloadURL` (not
|
|
10722
|
-
* `preload`) in the `webPreferences` object emitted with this event.
|
|
10723
10741
|
*/
|
|
10724
10742
|
on(event: 'will-attach-webview', listener: (event: Event,
|
|
10725
10743
|
/**
|
|
@@ -11658,6 +11676,19 @@ declare namespace Electron {
|
|
|
11658
11676
|
* specified.
|
|
11659
11677
|
*/
|
|
11660
11678
|
setIsolatedWorldInfo(worldId: number, info: Info): void;
|
|
11679
|
+
/**
|
|
11680
|
+
* Sets a provider for spell checking in input fields and text areas.
|
|
11681
|
+
*
|
|
11682
|
+
* If you want to use this method you must disable the builtin spellchecker when
|
|
11683
|
+
* you construct the window.
|
|
11684
|
+
*
|
|
11685
|
+
* The `provider` must be an object that has a `spellCheck` method that accepts an
|
|
11686
|
+
* array of individual words for spellchecking. The `spellCheck` function runs
|
|
11687
|
+
* asynchronously and calls the `callback` function with an array of misspelt words
|
|
11688
|
+
* when complete.
|
|
11689
|
+
*
|
|
11690
|
+
* An example of using node-spellchecker as provider:
|
|
11691
|
+
*/
|
|
11661
11692
|
setSpellCheckProvider(language: string, provider: Provider): void;
|
|
11662
11693
|
/**
|
|
11663
11694
|
* Sets the maximum and minimum pinch-to-zoom level.
|
|
@@ -11777,10 +11808,9 @@ declare namespace Electron {
|
|
|
11777
11808
|
reload(): boolean;
|
|
11778
11809
|
/**
|
|
11779
11810
|
* Send an asynchronous message to the renderer process via `channel`, along with
|
|
11780
|
-
* arguments. Arguments will be serialized with the
|
|
11781
|
-
*
|
|
11782
|
-
*
|
|
11783
|
-
* an exception.
|
|
11811
|
+
* arguments. Arguments will be serialized with the Structured Clone Algorithm,
|
|
11812
|
+
* just like `postMessage`, so prototype chains will not be included. Sending
|
|
11813
|
+
* Functions, Promises, Symbols, WeakMaps, or WeakSets will throw an exception.
|
|
11784
11814
|
*
|
|
11785
11815
|
* The renderer process can handle the message by listening to `channel` with the
|
|
11786
11816
|
* `ipcRenderer` module.
|
|
@@ -12562,9 +12592,6 @@ declare namespace Electron {
|
|
|
12562
12592
|
* When the guest page doesn't have node integration this script will still have
|
|
12563
12593
|
* access to all Node APIs, but global objects injected by Node will be deleted
|
|
12564
12594
|
* after this script has finished executing.
|
|
12565
|
-
*
|
|
12566
|
-
* **Note:** This option will appear as `preloadURL` (not `preload`) in the
|
|
12567
|
-
* `webPreferences` specified to the `will-attach-webview` event.
|
|
12568
12595
|
*/
|
|
12569
12596
|
preload: string;
|
|
12570
12597
|
/**
|
|
@@ -12818,7 +12845,7 @@ declare namespace Electron {
|
|
|
12818
12845
|
*/
|
|
12819
12846
|
useContentSize?: boolean;
|
|
12820
12847
|
/**
|
|
12821
|
-
* Show window in the center of the screen.
|
|
12848
|
+
* Show window in the center of the screen. Default is `false`.
|
|
12822
12849
|
*/
|
|
12823
12850
|
center?: boolean;
|
|
12824
12851
|
/**
|
|
@@ -12843,20 +12870,28 @@ declare namespace Electron {
|
|
|
12843
12870
|
resizable?: boolean;
|
|
12844
12871
|
/**
|
|
12845
12872
|
* Whether window is movable. This is not implemented on Linux. Default is `true`.
|
|
12873
|
+
*
|
|
12874
|
+
* @platform darwin,win32
|
|
12846
12875
|
*/
|
|
12847
12876
|
movable?: boolean;
|
|
12848
12877
|
/**
|
|
12849
12878
|
* Whether window is minimizable. This is not implemented on Linux. Default is
|
|
12850
12879
|
* `true`.
|
|
12880
|
+
*
|
|
12881
|
+
* @platform darwin,win32
|
|
12851
12882
|
*/
|
|
12852
12883
|
minimizable?: boolean;
|
|
12853
12884
|
/**
|
|
12854
12885
|
* Whether window is maximizable. This is not implemented on Linux. Default is
|
|
12855
12886
|
* `true`.
|
|
12887
|
+
*
|
|
12888
|
+
* @platform darwin,win32
|
|
12856
12889
|
*/
|
|
12857
12890
|
maximizable?: boolean;
|
|
12858
12891
|
/**
|
|
12859
12892
|
* Whether window is closable. This is not implemented on Linux. Default is `true`.
|
|
12893
|
+
*
|
|
12894
|
+
* @platform darwin,win32
|
|
12860
12895
|
*/
|
|
12861
12896
|
closable?: boolean;
|
|
12862
12897
|
/**
|
|
@@ -12884,10 +12919,14 @@ declare namespace Electron {
|
|
|
12884
12919
|
fullscreenable?: boolean;
|
|
12885
12920
|
/**
|
|
12886
12921
|
* Use pre-Lion fullscreen on macOS. Default is `false`.
|
|
12922
|
+
*
|
|
12923
|
+
* @platform darwin
|
|
12887
12924
|
*/
|
|
12888
12925
|
simpleFullscreen?: boolean;
|
|
12889
12926
|
/**
|
|
12890
12927
|
* Whether to show the window in taskbar. Default is `false`.
|
|
12928
|
+
*
|
|
12929
|
+
* @platform darwin,win32
|
|
12891
12930
|
*/
|
|
12892
12931
|
skipTaskbar?: boolean;
|
|
12893
12932
|
/**
|
|
@@ -12932,6 +12971,8 @@ declare namespace Electron {
|
|
|
12932
12971
|
/**
|
|
12933
12972
|
* Whether clicking an inactive window will also click through to the web contents.
|
|
12934
12973
|
* Default is `false` on macOS. This option is not configurable on other platforms.
|
|
12974
|
+
*
|
|
12975
|
+
* @platform darwin
|
|
12935
12976
|
*/
|
|
12936
12977
|
acceptFirstMouse?: boolean;
|
|
12937
12978
|
/**
|
|
@@ -12945,6 +12986,8 @@ declare namespace Electron {
|
|
|
12945
12986
|
/**
|
|
12946
12987
|
* Enable the window to be resized larger than screen. Only relevant for macOS, as
|
|
12947
12988
|
* other OSes allow larger-than-screen windows by default. Default is `false`.
|
|
12989
|
+
*
|
|
12990
|
+
* @platform darwin
|
|
12948
12991
|
*/
|
|
12949
12992
|
enableLargerThanScreen?: boolean;
|
|
12950
12993
|
/**
|
|
@@ -12961,6 +13004,8 @@ declare namespace Electron {
|
|
|
12961
13004
|
/**
|
|
12962
13005
|
* Set the initial opacity of the window, between 0.0 (fully transparent) and 1.0
|
|
12963
13006
|
* (fully opaque). This is only implemented on Windows and macOS.
|
|
13007
|
+
*
|
|
13008
|
+
* @platform darwin,win32
|
|
12964
13009
|
*/
|
|
12965
13010
|
opacity?: number;
|
|
12966
13011
|
/**
|
|
@@ -12980,6 +13025,8 @@ declare namespace Electron {
|
|
|
12980
13025
|
/**
|
|
12981
13026
|
* Specify how the material appearance should reflect window activity state on
|
|
12982
13027
|
* macOS. Must be used with the `vibrancy` property. Possible values are:
|
|
13028
|
+
*
|
|
13029
|
+
* @platform darwin
|
|
12983
13030
|
*/
|
|
12984
13031
|
visualEffectState?: ('followWindow' | 'active' | 'inactive');
|
|
12985
13032
|
/**
|
|
@@ -12990,11 +13037,15 @@ declare namespace Electron {
|
|
|
12990
13037
|
titleBarStyle?: ('default' | 'hidden' | 'hiddenInset' | 'customButtonsOnHover');
|
|
12991
13038
|
/**
|
|
12992
13039
|
* Set a custom position for the traffic light buttons in frameless windows.
|
|
13040
|
+
*
|
|
13041
|
+
* @platform darwin
|
|
12993
13042
|
*/
|
|
12994
13043
|
trafficLightPosition?: Point;
|
|
12995
13044
|
/**
|
|
12996
13045
|
* Whether frameless window should have rounded corners on macOS. Default is
|
|
12997
13046
|
* `true`.
|
|
13047
|
+
*
|
|
13048
|
+
* @platform darwin
|
|
12998
13049
|
*/
|
|
12999
13050
|
roundedCorners?: boolean;
|
|
13000
13051
|
/**
|
|
@@ -13002,6 +13053,7 @@ declare namespace Electron {
|
|
|
13002
13053
|
* titleBarStyle. Default is `false`.
|
|
13003
13054
|
*
|
|
13004
13055
|
* @deprecated
|
|
13056
|
+
* @platform darwin
|
|
13005
13057
|
*/
|
|
13006
13058
|
fullscreenWindowTitle?: boolean;
|
|
13007
13059
|
/**
|
|
@@ -13017,6 +13069,8 @@ declare namespace Electron {
|
|
|
13017
13069
|
* `fullscreen-ui`, `tooltip`, `content`, `under-window`, or `under-page`. Please
|
|
13018
13070
|
* note that `appearance-based`, `light`, `dark`, `medium-light`, and `ultra-dark`
|
|
13019
13071
|
* are deprecated and have been removed in macOS Catalina (10.15).
|
|
13072
|
+
*
|
|
13073
|
+
* @platform darwin
|
|
13020
13074
|
*/
|
|
13021
13075
|
vibrancy?: ('appearance-based' | 'light' | 'dark' | 'titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'medium-light' | 'ultra-dark' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page');
|
|
13022
13076
|
/**
|
|
@@ -13025,6 +13079,8 @@ declare namespace Electron {
|
|
|
13025
13079
|
* will grow to the preferred width of the web page when zoomed, `false` will cause
|
|
13026
13080
|
* it to zoom to the width of the screen. This will also affect the behavior when
|
|
13027
13081
|
* calling `maximize()` directly. Default is `false`.
|
|
13082
|
+
*
|
|
13083
|
+
* @platform darwin
|
|
13028
13084
|
*/
|
|
13029
13085
|
zoomToPageWidth?: boolean;
|
|
13030
13086
|
/**
|
|
@@ -13032,6 +13088,8 @@ declare namespace Electron {
|
|
|
13032
13088
|
* Windows with the same tabbing identifier will be grouped together. This also
|
|
13033
13089
|
* adds a native new tab button to your window's tab bar and allows your `app` and
|
|
13034
13090
|
* window to receive the `new-window-for-tab` event.
|
|
13091
|
+
*
|
|
13092
|
+
* @platform darwin
|
|
13035
13093
|
*/
|
|
13036
13094
|
tabbingIdentifier?: string;
|
|
13037
13095
|
/**
|
|
@@ -16182,6 +16240,8 @@ declare namespace Electron {
|
|
|
16182
16240
|
experimentalFeatures?: boolean;
|
|
16183
16241
|
/**
|
|
16184
16242
|
* Enables scroll bounce (rubber banding) effect on macOS. Default is `false`.
|
|
16243
|
+
*
|
|
16244
|
+
* @platform darwin
|
|
16185
16245
|
*/
|
|
16186
16246
|
scrollBounce?: boolean;
|
|
16187
16247
|
/**
|
package/howto.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
How to release:
|
|
2
|
+
---------------
|
|
3
|
+
- upload zip release to s3 (https://owcachedcontent.s3.amazonaws.com/ow-electron/releases/download/v19.0.8/ow-electron-v19.0.8-win32-x64.zip)
|
|
4
|
+
- calculate sha256 of zip file (powershell: Get-FileHash [zip file])
|
|
5
|
+
- place it in checksums.json (also make sure the name is correct - e.g. ow-electron-v19.0.8-win32-x64.zip": "1b4c0971307e25b9aeacd0574a23276c461a9b8e16f6caf8eb8aa641b96d09ed)
|
|
6
|
+
- update package.json - version
|
|
7
|
+
- publish: npm publish --access public
|
|
8
|
+
|
|
9
|
+
--------------
|
|
10
|
+
- release.js
|
|
11
|
+
- publish-to-npm.js
|
|
12
|
+
- create a temp folder
|
|
13
|
+
- copies all files from npm folder
|
|
14
|
+
- copies README and license from project root
|
|
15
|
+
- edits package.json from the root package json (name, version etc...)
|
|
16
|
+
- From the Electron git repo - downloads electron.d.ts to temp
|
|
17
|
+
- from the electron git repo - download SHASUMS256.txt and convert to checksums.json
|
|
18
|
+
- get release tag name
|
|
19
|
+
- npm pack the folder (create a tarball from the package)
|
|
20
|
+
- install and test it worked (looking at the folder under npm_modules) [npm i tarball --force --silent]
|
|
21
|
+
- check if already published to npm (via npm view) otherwise npm publish
|
|
22
|
+
- npm dist-tag
|
|
23
|
+
- npm/install.js - runs when calling npm i @overwolf/ow-electron
|
|
24
|
+
- check if npm_modules/@overwolf/ow-electron/dist/version to check already installed
|
|
25
|
+
- downloadArtifact (if doesn't exist)
|
|
26
|
+
- filename: artifactName[ow-electron]-[version]-[platform]-[arch].zip
|
|
27
|
+
- calculate url to file: details.mirrorOptions/[version]
|
|
28
|
+
- downloads to local folder
|
package/install.js
CHANGED
|
@@ -38,16 +38,16 @@ if (platform === 'darwin' && process.platform === 'darwin' && arch === 'x64' &&
|
|
|
38
38
|
|
|
39
39
|
// downloads if not cached
|
|
40
40
|
downloadArtifact({
|
|
41
|
+
mirrorOptions: {
|
|
42
|
+
mirror: 'https://content.overwolf.com/ow-electron/releases/download/',
|
|
43
|
+
},
|
|
41
44
|
version,
|
|
42
|
-
artifactName: 'electron',
|
|
45
|
+
artifactName: 'ow-electron',
|
|
43
46
|
force: process.env.force_no_cache === 'true',
|
|
44
47
|
cacheRoot: process.env.electron_config_cache,
|
|
45
48
|
checksums: process.env.electron_use_remote_checksums ? undefined : require('./checksums.json'),
|
|
46
49
|
platform,
|
|
47
|
-
arch
|
|
48
|
-
mirrorOptions: {
|
|
49
|
-
mirror: 'https://github.com/electron/electron/releases/download/'
|
|
50
|
-
}
|
|
50
|
+
arch
|
|
51
51
|
}).then(extractFile).catch(err => {
|
|
52
52
|
console.error(err.stack);
|
|
53
53
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "@overwolf/ow-electron",
|
|
3
|
+
"version": "19.0.10",
|
|
4
|
+
"repository": "https://github.com/electron/electron",
|
|
5
|
+
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Overwolf",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"ow-electron",
|
|
10
|
+
"overwolf electron"
|
|
11
|
+
],
|
|
2
12
|
"main": "index.js",
|
|
3
13
|
"types": "electron.d.ts",
|
|
4
14
|
"bin": {
|
|
@@ -8,20 +18,11 @@
|
|
|
8
18
|
"postinstall": "node install.js"
|
|
9
19
|
},
|
|
10
20
|
"dependencies": {
|
|
11
|
-
"@electron/get": "^1.
|
|
21
|
+
"@electron/get": "^1.14.1",
|
|
12
22
|
"@types/node": "^16.11.26",
|
|
13
23
|
"extract-zip": "^1.0.3"
|
|
14
24
|
},
|
|
15
25
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
"version": "18.3.0",
|
|
20
|
-
"repository": "https://github.com/electron/electron",
|
|
21
|
-
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"author": "Overwolf",
|
|
24
|
-
"keywords": [
|
|
25
|
-
"ow-electron"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
26
|
+
"node": ">= 10.17.0"
|
|
27
|
+
}
|
|
28
|
+
}
|