sunrize 1.0.69 → 1.0.70

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/build/publish.pl CHANGED
@@ -5,6 +5,15 @@ use v5.10.0;
5
5
  use utf8;
6
6
  use open qw/:std :utf8/;
7
7
 
8
+ if (`git branch --show-current` ne "development\n")
9
+ {
10
+ say "Wrong branch, must be development, cannot release version!";
11
+ exit 1;
12
+ }
13
+
14
+ system "git", "checkout", "main";
15
+ system "git", "merge", "development";
16
+
8
17
  my $version = `npm pkg get version | sed 's/"//g'`;
9
18
  chomp $version;
10
19
  say "package.json version $version";
@@ -21,3 +30,7 @@ system "git", "commit", "-am", "Published version $version";
21
30
  system "git", "push", "origin";
22
31
 
23
32
  system "npm", "publish";
33
+
34
+ system "git", "checkout", "development";
35
+ system "git", "merge", "main";
36
+ system "git", "push", "origin";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.0.69",
4
+ "version": "1.0.70",
5
5
  "description": "A Multi Platform X3D Editor",
6
6
  "homepage": "https://create3000.github.io/sunrize/",
7
7
  "author": "Holger Seelig",
@@ -85,12 +85,9 @@ module .exports = class Console extends Interface
85
85
  this .historyIndex = this .history .length
86
86
  }
87
87
 
88
- async setBrowserEvent (event)
88
+ async browserInitialized (event)
89
89
  {
90
- super .setBrowserEvent (event)
91
-
92
- if (event !== X3D .X3DConstants .INITIALIZED_EVENT)
93
- return
90
+ super .browserInitialized (event)
94
91
 
95
92
  await this .browser .loadComponents (this .browser .getComponent ("Scripting"))
96
93