create-electro 1.0.7 → 1.0.8

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.
@@ -20,6 +20,8 @@ app.on("before-quit", () => {
20
20
  void kernel.shutdown();
21
21
  });
22
22
 
23
- void app.whenReady().then(async () => {
23
+ void (async () => {
24
+ await kernel.initialize();
25
+ await app.whenReady();
24
26
  await kernel.start();
25
- });
27
+ })();
@@ -29,7 +29,7 @@ export class AppModule {
29
29
  });
30
30
  }
31
31
 
32
- async onReady() {
32
+ async onStart() {
33
33
  await this.window.open();
34
34
  }
35
35
  }
@@ -35,7 +35,7 @@ const features = [
35
35
  {
36
36
  icon: "clock-01",
37
37
  title: "Lifecycle-Aware",
38
- detail: "onInit, onReady, onShutdown, onDispose — predictable resource management across your entire app.",
38
+ detail: "onInit, onStart, onReady, onShutdown, onDispose — predictable resource management across your entire app.",
39
39
  },
40
40
  {
41
41
  icon: "computer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-electro",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Scaffold a new ElectroJS Electron app with the recommended monorepo layout",
5
5
  "keywords": [
6
6
  "create",