@vixoniccom/module-packager 2.5.0-dev.37 → 2.5.0-dev.39
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/CHANGELOG.md +14 -0
- package/electron.js +5 -1
- package/index.html +1 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.5.0-dev.39](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.38...v2.5.0-dev.39) (2021-08-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **release:** webpreferences were added in webview tag ([20fd01c](https://gitlab.com/mandomedio/vixonic/module-packager/commit/20fd01c1c04ae79d5241320f62a3333e387ad271))
|
|
11
|
+
|
|
12
|
+
## [2.5.0-dev.38](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.37...v2.5.0-dev.38) (2021-08-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **release:** webpreferences electron were added in browserWindow ([415e1b7](https://gitlab.com/mandomedio/vixonic/module-packager/commit/415e1b7129c9f77a5d84b90a7822025ae77a5e4b))
|
|
18
|
+
|
|
5
19
|
## [2.5.0-dev.37](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.36...v2.5.0-dev.37) (2021-08-23)
|
|
6
20
|
|
|
7
21
|
|
package/electron.js
CHANGED
package/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<title></title>
|
|
5
5
|
</head>
|
|
6
6
|
<body style="width: 100%; height: 100%; margin: 0; padding: 0;">
|
|
7
|
-
<webview style="width: 100%; height: 100%; margin: 0; padding: 0;" id="webview" autosize plugins disablewebsecurity></webview>
|
|
7
|
+
<webview style="width: 100%; height: 100%; margin: 0; padding: 0;" id="webview" nodeintegration autosize plugins disablewebsecurity></webview>
|
|
8
8
|
<script type="text/javascript">
|
|
9
9
|
const path = require('path')
|
|
10
10
|
const ModuleController = require('@vixoniccom/module-controller')
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
win.focus()
|
|
20
20
|
})
|
|
21
21
|
webview.src = options.mode === 'watch' ? `http://localhost:${options.port}/index.html` : `file://${path.join(options.build, 'index.html')}`
|
|
22
|
-
webview.webpreferences = ''
|
|
23
|
-
webview.webpreferences.nodeintegration = true
|
|
24
22
|
|
|
25
23
|
function getData () {
|
|
26
24
|
let data = {}
|
package/package.json
CHANGED