@awayfl/awayfl-player 0.2.35 → 0.2.36
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 +201 -201
- package/README.md +37 -1
- package/awayfl.config.js +85 -85
- package/builtins/playerglobal.json +2752 -2752
- package/builtins/playerglobal_new.json +4169 -4169
- package/bundle/awayfl-player.umd.js +161 -30
- package/bundle/awayfl-player.umd.js.gz +0 -0
- package/bundle/awayfl-player.umd.js.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/lib/AVM1Player.d.ts +4 -4
- package/dist/lib/AVM1Player.js +13 -13
- package/dist/lib/AVM2Player.d.ts +4 -4
- package/dist/lib/AVM2Player.js +14 -14
- package/dist/lib/AVMDebugInterface.d.ts +21 -21
- package/dist/lib/AVMDebugInterface.js +279 -279
- package/dist/lib/AVMPlayer.d.ts +6 -6
- package/dist/lib/AVMPlayer.js +27 -27
- package/dist/src/Main.d.ts +1 -1
- package/dist/src/Main.js +19 -19
- package/index.ts +9 -9
- package/lib/AVM1Player.ts +9 -9
- package/lib/AVM2Player.ts +12 -12
- package/lib/AVMDebugInterface.ts +345 -345
- package/lib/AVMPlayer.ts +29 -29
- package/package.json +97 -100
- package/rollup.config.js +30 -30
- package/{copyVersionToIndex.js → scripts/copyVersionToIndex.js} +33 -33
- package/scripts/initAwayDev_mac.sh +177 -177
- package/scripts/initAwayDev_mac_pnpm.sh +177 -177
- package/scripts/initAwayDev_win.bat +198 -198
- package/scripts/unlinkAwayDev_mac.sh +140 -140
- package/scripts/unlinkAwayDev_mac_pnpm.sh +140 -140
- package/scripts/unlinkAwayDev_win.bat +140 -140
- package/scripts/updateAwayDev_mac.sh +90 -90
- package/scripts/updateAwayDev_win.bat +69 -69
- package/scripts/updateAway_any.bat +73 -73
- package/tsconfig.json +12 -12
- package/webpack.config.js +450 -450
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
echo [32m Clones and links all AwayFL modules into a directory "@awayfl", and all and AwayJS modules into a directory "@awayjs" at the same level as the awayfl-player directory[0m
|
|
2
|
-
read -n 1 -s -r -p "Press any key to continue"
|
|
3
|
-
cd $(dirname "$0")
|
|
4
|
-
cd ..
|
|
5
|
-
cd ..
|
|
6
|
-
|
|
7
|
-
echo [32m Cloning "@awayjs" modules from Github[0m
|
|
8
|
-
|
|
9
|
-
mkdir @awayjs
|
|
10
|
-
cd @awayjs
|
|
11
|
-
git clone https://github.com/awayjs/core.git
|
|
12
|
-
git clone https://github.com/awayjs/graphics.git
|
|
13
|
-
git clone https://github.com/awayjs/scene.git
|
|
14
|
-
git clone https://github.com/awayjs/stage.git
|
|
15
|
-
git clone https://github.com/awayjs/renderer.git
|
|
16
|
-
git clone https://github.com/awayjs/materials.git
|
|
17
|
-
git clone https://github.com/awayjs/view.git
|
|
18
|
-
|
|
19
|
-
echo [32m Checkout and link "@awayjs/core" module[0m
|
|
20
|
-
cd core
|
|
21
|
-
git checkout dev
|
|
22
|
-
yarn
|
|
23
|
-
yarn link
|
|
24
|
-
cd ..
|
|
25
|
-
|
|
26
|
-
echo [32m Checkout and link "@awayjs/stage" module[0m
|
|
27
|
-
cd stage
|
|
28
|
-
git checkout dev
|
|
29
|
-
yarn
|
|
30
|
-
yarn link
|
|
31
|
-
yarn link @awayjs/core
|
|
32
|
-
cd ..
|
|
33
|
-
|
|
34
|
-
echo [32m Checkout and link "@awayjs/view" module[0m
|
|
35
|
-
cd view
|
|
36
|
-
git checkout dev
|
|
37
|
-
yarn
|
|
38
|
-
yarn link
|
|
39
|
-
yarn link @awayjs/core
|
|
40
|
-
yarn link @awayjs/stage
|
|
41
|
-
cd ..
|
|
42
|
-
|
|
43
|
-
echo [32m Checkout and link "@awayjs/renderer" module[0m
|
|
44
|
-
cd renderer
|
|
45
|
-
git checkout dev
|
|
46
|
-
yarn
|
|
47
|
-
yarn link
|
|
48
|
-
yarn link @awayjs/core
|
|
49
|
-
yarn link @awayjs/stage
|
|
50
|
-
yarn link @awayjs/view
|
|
51
|
-
cd ..
|
|
52
|
-
|
|
53
|
-
echo [32m Checkout and link "@awayjs/graphics" module[0m
|
|
54
|
-
cd graphics
|
|
55
|
-
git checkout dev
|
|
56
|
-
yarn
|
|
57
|
-
yarn link
|
|
58
|
-
yarn link @awayjs/core
|
|
59
|
-
yarn link @awayjs/stage
|
|
60
|
-
yarn link @awayjs/view
|
|
61
|
-
yarn link @awayjs/renderer
|
|
62
|
-
cd ..
|
|
63
|
-
|
|
64
|
-
echo [32m Checkout and link "@awayjs/materials" module[0m
|
|
65
|
-
cd materials
|
|
66
|
-
git checkout dev
|
|
67
|
-
yarn
|
|
68
|
-
yarn link
|
|
69
|
-
yarn link @awayjs/core
|
|
70
|
-
yarn link @awayjs/stage
|
|
71
|
-
yarn link @awayjs/renderer
|
|
72
|
-
yarn link @awayjs/view
|
|
73
|
-
cd ..
|
|
74
|
-
|
|
75
|
-
echo [32m Checkout and link "@awayjs/scene" module[0m
|
|
76
|
-
cd scene
|
|
77
|
-
git checkout dev
|
|
78
|
-
yarn
|
|
79
|
-
yarn link
|
|
80
|
-
yarn link @awayjs/core
|
|
81
|
-
yarn link @awayjs/stage
|
|
82
|
-
yarn link @awayjs/view
|
|
83
|
-
yarn link @awayjs/renderer
|
|
84
|
-
yarn link @awayjs/graphics
|
|
85
|
-
yarn link @awayjs/materials
|
|
86
|
-
cd ..
|
|
87
|
-
|
|
88
|
-
cd ..
|
|
89
|
-
|
|
90
|
-
echo [32m Cloning "@awayfl" modules from Github[0m
|
|
91
|
-
|
|
92
|
-
mkdir @awayfl
|
|
93
|
-
cd @awayfl
|
|
94
|
-
git clone https://github.com/awayfl/swf-loader.git
|
|
95
|
-
git clone https://github.com/awayfl/avm1.git
|
|
96
|
-
git clone https://github.com/awayfl/avm2.git
|
|
97
|
-
git clone https://github.com/awayfl/playerglobal.git
|
|
98
|
-
|
|
99
|
-
echo [32m Checkout and link "@awayfl/swf-loader" module[0m
|
|
100
|
-
cd swf-loader
|
|
101
|
-
git checkout dev
|
|
102
|
-
yarn
|
|
103
|
-
yarn link
|
|
104
|
-
yarn link @awayjs/core
|
|
105
|
-
yarn link @awayjs/view
|
|
106
|
-
yarn link @awayjs/stage
|
|
107
|
-
yarn link @awayjs/renderer
|
|
108
|
-
yarn link @awayjs/graphics
|
|
109
|
-
yarn link @awayjs/materials
|
|
110
|
-
yarn link @awayjs/scene
|
|
111
|
-
cd ..
|
|
112
|
-
|
|
113
|
-
echo [32m Checkout and link "@awayfl/avm1" module[0m
|
|
114
|
-
cd avm1
|
|
115
|
-
git checkout dev
|
|
116
|
-
yarn
|
|
117
|
-
yarn link
|
|
118
|
-
yarn link @awayjs/core
|
|
119
|
-
yarn link @awayjs/view
|
|
120
|
-
yarn link @awayjs/stage
|
|
121
|
-
yarn link @awayjs/renderer
|
|
122
|
-
yarn link @awayjs/graphics
|
|
123
|
-
yarn link @awayjs/materials
|
|
124
|
-
yarn link @awayjs/scene
|
|
125
|
-
yarn link @awayfl/swf-loader
|
|
126
|
-
cd ..
|
|
127
|
-
|
|
128
|
-
echo [32m Checkout and link "@awayfl/avm2" module[0m
|
|
129
|
-
cd avm2
|
|
130
|
-
git checkout dev
|
|
131
|
-
yarn
|
|
132
|
-
yarn link
|
|
133
|
-
yarn link @awayjs/core
|
|
134
|
-
yarn link @awayjs/view
|
|
135
|
-
yarn link @awayjs/renderer
|
|
136
|
-
yarn link @awayjs/graphics
|
|
137
|
-
yarn link @awayjs/materials
|
|
138
|
-
yarn link @awayjs/scene
|
|
139
|
-
yarn link @awayjs/stage
|
|
140
|
-
yarn link @awayfl/swf-loader
|
|
141
|
-
cd ..
|
|
142
|
-
|
|
143
|
-
echo [32m Checkout and link "@awayfl/playerglobal" module[0m
|
|
144
|
-
cd playerglobal
|
|
145
|
-
git checkout dev
|
|
146
|
-
yarn
|
|
147
|
-
yarn link
|
|
148
|
-
yarn link @awayjs/core
|
|
149
|
-
yarn link @awayjs/stage
|
|
150
|
-
yarn link @awayjs/view
|
|
151
|
-
yarn link @awayjs/renderer
|
|
152
|
-
yarn link @awayjs/graphics
|
|
153
|
-
yarn link @awayjs/materials
|
|
154
|
-
yarn link @awayjs/scene
|
|
155
|
-
yarn link @awayfl/swf-loader
|
|
156
|
-
yarn link @awayfl/avm2
|
|
157
|
-
cd ..
|
|
158
|
-
|
|
159
|
-
echo [32m Checkout and link "awayfl-player" module[0m
|
|
160
|
-
cd ..
|
|
161
|
-
cd awayfl-player
|
|
162
|
-
git checkout dev
|
|
163
|
-
yarn
|
|
164
|
-
yarn link
|
|
165
|
-
yarn link @awayjs/core
|
|
166
|
-
yarn link @awayjs/stage
|
|
167
|
-
yarn link @awayjs/view
|
|
168
|
-
yarn link @awayjs/renderer
|
|
169
|
-
yarn link @awayjs/graphics
|
|
170
|
-
yarn link @awayjs/materials
|
|
171
|
-
yarn link @awayjs/scene
|
|
172
|
-
yarn link @awayfl/swf-loader
|
|
173
|
-
yarn link @awayfl/avm1
|
|
174
|
-
yarn link @awayfl/avm2
|
|
175
|
-
yarn link @awayfl/playerglobal
|
|
176
|
-
|
|
177
|
-
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
1
|
+
echo [32m Clones and links all AwayFL modules into a directory "@awayfl", and all and AwayJS modules into a directory "@awayjs" at the same level as the awayfl-player directory[0m
|
|
2
|
+
read -n 1 -s -r -p "Press any key to continue"
|
|
3
|
+
cd $(dirname "$0")
|
|
4
|
+
cd ..
|
|
5
|
+
cd ..
|
|
6
|
+
|
|
7
|
+
echo [32m Cloning "@awayjs" modules from Github[0m
|
|
8
|
+
|
|
9
|
+
mkdir @awayjs
|
|
10
|
+
cd @awayjs
|
|
11
|
+
git clone https://github.com/awayjs/core.git
|
|
12
|
+
git clone https://github.com/awayjs/graphics.git
|
|
13
|
+
git clone https://github.com/awayjs/scene.git
|
|
14
|
+
git clone https://github.com/awayjs/stage.git
|
|
15
|
+
git clone https://github.com/awayjs/renderer.git
|
|
16
|
+
git clone https://github.com/awayjs/materials.git
|
|
17
|
+
git clone https://github.com/awayjs/view.git
|
|
18
|
+
|
|
19
|
+
echo [32m Checkout and link "@awayjs/core" module[0m
|
|
20
|
+
cd core
|
|
21
|
+
git checkout dev
|
|
22
|
+
yarn
|
|
23
|
+
yarn link
|
|
24
|
+
cd ..
|
|
25
|
+
|
|
26
|
+
echo [32m Checkout and link "@awayjs/stage" module[0m
|
|
27
|
+
cd stage
|
|
28
|
+
git checkout dev
|
|
29
|
+
yarn
|
|
30
|
+
yarn link
|
|
31
|
+
yarn link @awayjs/core
|
|
32
|
+
cd ..
|
|
33
|
+
|
|
34
|
+
echo [32m Checkout and link "@awayjs/view" module[0m
|
|
35
|
+
cd view
|
|
36
|
+
git checkout dev
|
|
37
|
+
yarn
|
|
38
|
+
yarn link
|
|
39
|
+
yarn link @awayjs/core
|
|
40
|
+
yarn link @awayjs/stage
|
|
41
|
+
cd ..
|
|
42
|
+
|
|
43
|
+
echo [32m Checkout and link "@awayjs/renderer" module[0m
|
|
44
|
+
cd renderer
|
|
45
|
+
git checkout dev
|
|
46
|
+
yarn
|
|
47
|
+
yarn link
|
|
48
|
+
yarn link @awayjs/core
|
|
49
|
+
yarn link @awayjs/stage
|
|
50
|
+
yarn link @awayjs/view
|
|
51
|
+
cd ..
|
|
52
|
+
|
|
53
|
+
echo [32m Checkout and link "@awayjs/graphics" module[0m
|
|
54
|
+
cd graphics
|
|
55
|
+
git checkout dev
|
|
56
|
+
yarn
|
|
57
|
+
yarn link
|
|
58
|
+
yarn link @awayjs/core
|
|
59
|
+
yarn link @awayjs/stage
|
|
60
|
+
yarn link @awayjs/view
|
|
61
|
+
yarn link @awayjs/renderer
|
|
62
|
+
cd ..
|
|
63
|
+
|
|
64
|
+
echo [32m Checkout and link "@awayjs/materials" module[0m
|
|
65
|
+
cd materials
|
|
66
|
+
git checkout dev
|
|
67
|
+
yarn
|
|
68
|
+
yarn link
|
|
69
|
+
yarn link @awayjs/core
|
|
70
|
+
yarn link @awayjs/stage
|
|
71
|
+
yarn link @awayjs/renderer
|
|
72
|
+
yarn link @awayjs/view
|
|
73
|
+
cd ..
|
|
74
|
+
|
|
75
|
+
echo [32m Checkout and link "@awayjs/scene" module[0m
|
|
76
|
+
cd scene
|
|
77
|
+
git checkout dev
|
|
78
|
+
yarn
|
|
79
|
+
yarn link
|
|
80
|
+
yarn link @awayjs/core
|
|
81
|
+
yarn link @awayjs/stage
|
|
82
|
+
yarn link @awayjs/view
|
|
83
|
+
yarn link @awayjs/renderer
|
|
84
|
+
yarn link @awayjs/graphics
|
|
85
|
+
yarn link @awayjs/materials
|
|
86
|
+
cd ..
|
|
87
|
+
|
|
88
|
+
cd ..
|
|
89
|
+
|
|
90
|
+
echo [32m Cloning "@awayfl" modules from Github[0m
|
|
91
|
+
|
|
92
|
+
mkdir @awayfl
|
|
93
|
+
cd @awayfl
|
|
94
|
+
git clone https://github.com/awayfl/swf-loader.git
|
|
95
|
+
git clone https://github.com/awayfl/avm1.git
|
|
96
|
+
git clone https://github.com/awayfl/avm2.git
|
|
97
|
+
git clone https://github.com/awayfl/playerglobal.git
|
|
98
|
+
|
|
99
|
+
echo [32m Checkout and link "@awayfl/swf-loader" module[0m
|
|
100
|
+
cd swf-loader
|
|
101
|
+
git checkout dev
|
|
102
|
+
yarn
|
|
103
|
+
yarn link
|
|
104
|
+
yarn link @awayjs/core
|
|
105
|
+
yarn link @awayjs/view
|
|
106
|
+
yarn link @awayjs/stage
|
|
107
|
+
yarn link @awayjs/renderer
|
|
108
|
+
yarn link @awayjs/graphics
|
|
109
|
+
yarn link @awayjs/materials
|
|
110
|
+
yarn link @awayjs/scene
|
|
111
|
+
cd ..
|
|
112
|
+
|
|
113
|
+
echo [32m Checkout and link "@awayfl/avm1" module[0m
|
|
114
|
+
cd avm1
|
|
115
|
+
git checkout dev
|
|
116
|
+
yarn
|
|
117
|
+
yarn link
|
|
118
|
+
yarn link @awayjs/core
|
|
119
|
+
yarn link @awayjs/view
|
|
120
|
+
yarn link @awayjs/stage
|
|
121
|
+
yarn link @awayjs/renderer
|
|
122
|
+
yarn link @awayjs/graphics
|
|
123
|
+
yarn link @awayjs/materials
|
|
124
|
+
yarn link @awayjs/scene
|
|
125
|
+
yarn link @awayfl/swf-loader
|
|
126
|
+
cd ..
|
|
127
|
+
|
|
128
|
+
echo [32m Checkout and link "@awayfl/avm2" module[0m
|
|
129
|
+
cd avm2
|
|
130
|
+
git checkout dev
|
|
131
|
+
yarn
|
|
132
|
+
yarn link
|
|
133
|
+
yarn link @awayjs/core
|
|
134
|
+
yarn link @awayjs/view
|
|
135
|
+
yarn link @awayjs/renderer
|
|
136
|
+
yarn link @awayjs/graphics
|
|
137
|
+
yarn link @awayjs/materials
|
|
138
|
+
yarn link @awayjs/scene
|
|
139
|
+
yarn link @awayjs/stage
|
|
140
|
+
yarn link @awayfl/swf-loader
|
|
141
|
+
cd ..
|
|
142
|
+
|
|
143
|
+
echo [32m Checkout and link "@awayfl/playerglobal" module[0m
|
|
144
|
+
cd playerglobal
|
|
145
|
+
git checkout dev
|
|
146
|
+
yarn
|
|
147
|
+
yarn link
|
|
148
|
+
yarn link @awayjs/core
|
|
149
|
+
yarn link @awayjs/stage
|
|
150
|
+
yarn link @awayjs/view
|
|
151
|
+
yarn link @awayjs/renderer
|
|
152
|
+
yarn link @awayjs/graphics
|
|
153
|
+
yarn link @awayjs/materials
|
|
154
|
+
yarn link @awayjs/scene
|
|
155
|
+
yarn link @awayfl/swf-loader
|
|
156
|
+
yarn link @awayfl/avm2
|
|
157
|
+
cd ..
|
|
158
|
+
|
|
159
|
+
echo [32m Checkout and link "awayfl-player" module[0m
|
|
160
|
+
cd ..
|
|
161
|
+
cd awayfl-player
|
|
162
|
+
git checkout dev
|
|
163
|
+
yarn
|
|
164
|
+
yarn link
|
|
165
|
+
yarn link @awayjs/core
|
|
166
|
+
yarn link @awayjs/stage
|
|
167
|
+
yarn link @awayjs/view
|
|
168
|
+
yarn link @awayjs/renderer
|
|
169
|
+
yarn link @awayjs/graphics
|
|
170
|
+
yarn link @awayjs/materials
|
|
171
|
+
yarn link @awayjs/scene
|
|
172
|
+
yarn link @awayfl/swf-loader
|
|
173
|
+
yarn link @awayfl/avm1
|
|
174
|
+
yarn link @awayfl/avm2
|
|
175
|
+
yarn link @awayfl/playerglobal
|
|
176
|
+
|
|
177
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
178
178
|
exit
|