@devisfuture/electron-modular 1.1.11 → 1.1.14
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/README.md +6 -0
- package/dist/@core/control-window/create.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@devisfuture/electron-modular) [](https://www.npmjs.com/package/@devisfuture/electron-modular) [](https://github.com/trae-op/electron-modular/actions/workflows/ci.yml) [](https://codecov.io/gh/trae-op/electron-modular) [](https://bundlephobia.com/package/@devisfuture/electron-modular) [](https://github.com/trae-op/electron-modular/blob/main/LICENSE) [](https://www.typescriptlang.org/)
|
|
8
8
|
|
|
9
|
+
## Collaboration
|
|
10
|
+
|
|
11
|
+
- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
12
|
+
- Code of Conduct: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
13
|
+
- Security policy: [SECURITY.md](SECURITY.md)
|
|
14
|
+
|
|
9
15
|
## Overview
|
|
10
16
|
|
|
11
17
|
A lightweight dependency injection container for Electron's main process that brings modular architecture and clean code organization to your desktop applications.
|
|
@@ -23,7 +23,7 @@ export const createWindow = ({ hash, options, isCache, loadURL, }) => {
|
|
|
23
23
|
const ui = path.join(app.getAppPath(), `/${settings.folders.distRenderer}/index.html`);
|
|
24
24
|
const preload = path.join(app.getAppPath(), isDev ? "." : "..", `/${settings.folders.distMain}/preload.cjs`);
|
|
25
25
|
if (!settings.localhostPort)
|
|
26
|
-
console.warn('Warning: You have to add an environment variable called "process.env.LOCALHOST_ELECTRON_SERVER_PORT"!');
|
|
26
|
+
console.warn('Warning: You have to add an environment variable for example called "process.env.LOCALHOST_ELECTRON_SERVER_PORT"!');
|
|
27
27
|
if (hash && isCache) {
|
|
28
28
|
const existing = getWindow(hash);
|
|
29
29
|
if (existing) {
|
package/package.json
CHANGED