@awayfl/awayfl-player 0.2.34 → 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/README.md +37 -1
- package/awayfl.config.js +1 -1
- package/bundle/awayfl-player.umd.js +15 -15
- package/bundle/awayfl-player.umd.js.gz +0 -0
- package/bundle/awayfl-player.umd.js.map +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +6 -9
- package/scripts/initAwayDev_mac.sh +5 -1
- package/scripts/initAwayDev_mac_pnpm.sh +178 -0
- package/scripts/unlinkAwayDev_mac.sh +140 -0
- package/scripts/unlinkAwayDev_mac_pnpm.sh +140 -0
- package/scripts/updateAwayDev_mac.sh +6 -1
- /package/{copyVersionToIndex.js → scripts/copyVersionToIndex.js} +0 -0
package/dist/index.js
CHANGED
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awayfl/awayfl-player",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.36",
|
|
4
4
|
"description": "Flash Player emulator for executing SWF files (published for FP versions 6 and up) in javascript",
|
|
5
5
|
"main": "bundle/awayfl-player.umd.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -13,22 +13,18 @@
|
|
|
13
13
|
"tsc": "tsc",
|
|
14
14
|
"tsc:build": "npm run tsc || exit 0",
|
|
15
15
|
"webpack": "webpack",
|
|
16
|
-
"clean": "npm
|
|
16
|
+
"clean": "npm run rimraf -- dist bundle",
|
|
17
17
|
"clean:bin": "npm run rimraf -- bin",
|
|
18
18
|
"preclean:install": "npm run clean",
|
|
19
19
|
"clean:install": "npm set progress=false && npm install",
|
|
20
20
|
"preclean:start": "npm run clean",
|
|
21
21
|
"clean:start": "npm start",
|
|
22
|
-
"watch": "npm run
|
|
23
|
-
"watch:dev": "npm run build:dev -- --watch",
|
|
24
|
-
"watch:dev:hmr": "npm run watch:dev -- --hot",
|
|
25
|
-
"watch:test": "npm run test -- --auto-watch --no-single-run",
|
|
26
|
-
"watch:prod": "npm run build:prod -- --watch",
|
|
22
|
+
"watch": "npm run tsc -- --w",
|
|
27
23
|
"build": "npm run build:dev",
|
|
28
24
|
"prebuild:dev": "npm run clean:bin",
|
|
29
25
|
"build:dev": "webpack --config webpack.config.js --progress",
|
|
30
26
|
"prebuild:prod": "npm run clean:bin",
|
|
31
|
-
"build:prod": "webpack --config webpack.config.js --progress --env
|
|
27
|
+
"build:prod": "webpack --config webpack.config.js --progress --env prod",
|
|
32
28
|
"server": "npm run server:dev",
|
|
33
29
|
"server:dev": "webpack-dev-server --config webpack.config.js --progress",
|
|
34
30
|
"server:dev:hmr": "npm run server:dev -- --hot",
|
|
@@ -36,7 +32,8 @@
|
|
|
36
32
|
"start": "npm run server:dev",
|
|
37
33
|
"start:hmr": "npm run server:dev:hmr",
|
|
38
34
|
"yarnImport": "npm run rimraf -- yarn.lock && yarn import && git add ./yarn.lock && git commit -m \"update yarn.lock file\" || exit 0",
|
|
39
|
-
"copyVersionToIndex": "node ./copyVersionToIndex.js ./index.ts && git add ./index.ts && git commit -m \"update version number in index.ts\"",
|
|
35
|
+
"copyVersionToIndex": "node ./scripts/copyVersionToIndex.js ./index.ts && git add ./index.ts && git commit -m \"update version number in index.ts\"",
|
|
36
|
+
"preversion": "npm run clean",
|
|
40
37
|
"version": "npm run yarnImport && npm run copyVersionToIndex && npm run tsc:build && npm run rollup",
|
|
41
38
|
"postversion": "git push && git push --tags && npm publish"
|
|
42
39
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
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
2
|
read -n 1 -s -r -p "Press any key to continue"
|
|
3
|
+
cd $(dirname "$0")
|
|
3
4
|
cd ..
|
|
4
5
|
cd ..
|
|
5
6
|
|
|
@@ -171,4 +172,7 @@ yarn link @awayjs/scene
|
|
|
171
172
|
yarn link @awayfl/swf-loader
|
|
172
173
|
yarn link @awayfl/avm1
|
|
173
174
|
yarn link @awayfl/avm2
|
|
174
|
-
yarn link @awayfl/playerglobal
|
|
175
|
+
yarn link @awayfl/playerglobal
|
|
176
|
+
|
|
177
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
178
|
+
exit
|
|
@@ -0,0 +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
|
+
pnpm install
|
|
23
|
+
pnpm link --global
|
|
24
|
+
cd ..
|
|
25
|
+
|
|
26
|
+
echo [32m Checkout and link "@awayjs/stage" module[0m
|
|
27
|
+
cd stage
|
|
28
|
+
git checkout dev
|
|
29
|
+
pnpm install
|
|
30
|
+
pnpm link --global
|
|
31
|
+
pnpm link --global @awayjs/core
|
|
32
|
+
cd ..
|
|
33
|
+
|
|
34
|
+
echo [32m Checkout and link "@awayjs/view" module[0m
|
|
35
|
+
cd view
|
|
36
|
+
git checkout dev
|
|
37
|
+
pnpm install
|
|
38
|
+
pnpm link --global
|
|
39
|
+
pnpm link --global @awayjs/core
|
|
40
|
+
pnpm link --global @awayjs/stage
|
|
41
|
+
cd ..
|
|
42
|
+
|
|
43
|
+
echo [32m Checkout and link "@awayjs/renderer" module[0m
|
|
44
|
+
cd renderer
|
|
45
|
+
git checkout dev
|
|
46
|
+
pnpm install
|
|
47
|
+
pnpm link --global
|
|
48
|
+
pnpm link --global @awayjs/core
|
|
49
|
+
pnpm link --global @awayjs/stage
|
|
50
|
+
pnpm link --global @awayjs/view
|
|
51
|
+
cd ..
|
|
52
|
+
|
|
53
|
+
echo [32m Checkout and link "@awayjs/graphics" module[0m
|
|
54
|
+
cd graphics
|
|
55
|
+
git checkout dev
|
|
56
|
+
pnpm install
|
|
57
|
+
pnpm link --global
|
|
58
|
+
pnpm link --global @awayjs/core
|
|
59
|
+
pnpm link --global @awayjs/stage
|
|
60
|
+
pnpm link --global @awayjs/view
|
|
61
|
+
pnpm link --global @awayjs/renderer
|
|
62
|
+
cd ..
|
|
63
|
+
|
|
64
|
+
echo [32m Checkout and link "@awayjs/materials" module[0m
|
|
65
|
+
cd materials
|
|
66
|
+
git checkout dev
|
|
67
|
+
pnpm install
|
|
68
|
+
pnpm link --global
|
|
69
|
+
pnpm link --global @awayjs/core
|
|
70
|
+
pnpm link --global @awayjs/stage
|
|
71
|
+
pnpm link --global @awayjs/renderer
|
|
72
|
+
pnpm link --global @awayjs/view
|
|
73
|
+
cd ..
|
|
74
|
+
|
|
75
|
+
echo [32m Checkout and link "@awayjs/scene" module[0m
|
|
76
|
+
cd scene
|
|
77
|
+
git checkout dev
|
|
78
|
+
pnpm install
|
|
79
|
+
pnpm link --global
|
|
80
|
+
pnpm link --global @awayjs/core
|
|
81
|
+
pnpm link --global @awayjs/stage
|
|
82
|
+
pnpm link --global @awayjs/view
|
|
83
|
+
pnpm link --global @awayjs/renderer
|
|
84
|
+
pnpm link --global @awayjs/graphics
|
|
85
|
+
pnpm link --global @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
|
+
pnpm install
|
|
103
|
+
pnpm link --global
|
|
104
|
+
pnpm link --global @awayjs/core
|
|
105
|
+
pnpm link --global @awayjs/view
|
|
106
|
+
pnpm link --global @awayjs/stage
|
|
107
|
+
pnpm link --global @awayjs/renderer
|
|
108
|
+
pnpm link --global @awayjs/graphics
|
|
109
|
+
pnpm link --global @awayjs/materials
|
|
110
|
+
pnpm link --global @awayjs/scene
|
|
111
|
+
cd ..
|
|
112
|
+
|
|
113
|
+
echo [32m Checkout and link "@awayfl/avm1" module[0m
|
|
114
|
+
cd avm1
|
|
115
|
+
git checkout dev
|
|
116
|
+
pnpm install
|
|
117
|
+
pnpm link --global
|
|
118
|
+
pnpm link --global @awayjs/core
|
|
119
|
+
pnpm link --global @awayjs/view
|
|
120
|
+
pnpm link --global @awayjs/stage
|
|
121
|
+
pnpm link --global @awayjs/renderer
|
|
122
|
+
pnpm link --global @awayjs/graphics
|
|
123
|
+
pnpm link --global @awayjs/materials
|
|
124
|
+
pnpm link --global @awayjs/scene
|
|
125
|
+
pnpm link --global @awayfl/swf-loader
|
|
126
|
+
cd ..
|
|
127
|
+
|
|
128
|
+
echo [32m Checkout and link "@awayfl/avm2" module[0m
|
|
129
|
+
cd avm2
|
|
130
|
+
git checkout dev
|
|
131
|
+
pnpm install
|
|
132
|
+
pnpm link --global
|
|
133
|
+
pnpm link --global @awayjs/core
|
|
134
|
+
pnpm link --global @awayjs/view
|
|
135
|
+
pnpm link --global @awayjs/renderer
|
|
136
|
+
pnpm link --global @awayjs/graphics
|
|
137
|
+
pnpm link --global @awayjs/materials
|
|
138
|
+
pnpm link --global @awayjs/scene
|
|
139
|
+
pnpm link --global @awayjs/stage
|
|
140
|
+
pnpm link --global @awayfl/swf-loader
|
|
141
|
+
cd ..
|
|
142
|
+
|
|
143
|
+
echo [32m Checkout and link "@awayfl/playerglobal" module[0m
|
|
144
|
+
cd playerglobal
|
|
145
|
+
git checkout dev
|
|
146
|
+
pnpm install
|
|
147
|
+
pnpm link --global
|
|
148
|
+
pnpm link --global @awayjs/core
|
|
149
|
+
pnpm link --global @awayjs/stage
|
|
150
|
+
pnpm link --global @awayjs/view
|
|
151
|
+
pnpm link --global @awayjs/renderer
|
|
152
|
+
pnpm link --global @awayjs/graphics
|
|
153
|
+
pnpm link --global @awayjs/materials
|
|
154
|
+
pnpm link --global @awayjs/scene
|
|
155
|
+
pnpm link --global @awayfl/swf-loader
|
|
156
|
+
pnpm link --global @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
|
+
pnpm install
|
|
164
|
+
pnpm link --global
|
|
165
|
+
pnpm link --global @awayjs/core
|
|
166
|
+
pnpm link --global @awayjs/stage
|
|
167
|
+
pnpm link --global @awayjs/view
|
|
168
|
+
pnpm link --global @awayjs/renderer
|
|
169
|
+
pnpm link --global @awayjs/graphics
|
|
170
|
+
pnpm link --global @awayjs/materials
|
|
171
|
+
pnpm link --global @awayjs/scene
|
|
172
|
+
pnpm link --global @awayfl/swf-loader
|
|
173
|
+
pnpm link --global @awayfl/avm1
|
|
174
|
+
pnpm link --global @awayfl/avm2
|
|
175
|
+
pnpm link --global @awayfl/playerglobal
|
|
176
|
+
|
|
177
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
178
|
+
exit
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
echo [32m Unlinks all AwayFL modules from "@awayfl", and all and AwayJS modules from "@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 unlink "awayfl-player" module[0m
|
|
8
|
+
cd awayfl-player
|
|
9
|
+
yarn unlink
|
|
10
|
+
yarn unlink @awayjs/core
|
|
11
|
+
yarn unlink @awayjs/stage
|
|
12
|
+
yarn unlink @awayjs/view
|
|
13
|
+
yarn unlink @awayjs/renderer
|
|
14
|
+
yarn unlink @awayjs/graphics
|
|
15
|
+
yarn unlink @awayjs/materials
|
|
16
|
+
yarn unlink @awayjs/scene
|
|
17
|
+
yarn unlink @awayfl/swf-loader
|
|
18
|
+
yarn unlink @awayfl/avm1
|
|
19
|
+
yarn unlink @awayfl/avm2
|
|
20
|
+
yarn unlink @awayfl/playerglobal
|
|
21
|
+
cd..
|
|
22
|
+
|
|
23
|
+
cd @awayfl
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
echo [32m unlink "@awayfl/playerglobal" module[0m
|
|
27
|
+
cd playerglobal
|
|
28
|
+
yarn unlink
|
|
29
|
+
yarn unlink @awayjs/core
|
|
30
|
+
yarn unlink @awayjs/stage
|
|
31
|
+
yarn unlink @awayjs/view
|
|
32
|
+
yarn unlink @awayjs/renderer
|
|
33
|
+
yarn unlink @awayjs/graphics
|
|
34
|
+
yarn unlink @awayjs/materials
|
|
35
|
+
yarn unlink @awayjs/scene
|
|
36
|
+
yarn unlink @awayfl/swf-loader
|
|
37
|
+
yarn unlink @awayfl/avm2
|
|
38
|
+
cd..
|
|
39
|
+
|
|
40
|
+
echo [32m unlink "@awayfl/avm2" module[0m
|
|
41
|
+
cd avm2
|
|
42
|
+
yarn unlink
|
|
43
|
+
yarn unlink @awayjs/core
|
|
44
|
+
yarn unlink @awayjs/view
|
|
45
|
+
yarn unlink @awayjs/renderer
|
|
46
|
+
yarn unlink @awayjs/graphics
|
|
47
|
+
yarn unlink @awayjs/materials
|
|
48
|
+
yarn unlink @awayjs/scene
|
|
49
|
+
yarn unlink @awayjs/stage
|
|
50
|
+
yarn unlink @awayfl/swf-loader
|
|
51
|
+
cd..
|
|
52
|
+
|
|
53
|
+
echo [32m unlink "@awayfl/avm1" module[0m
|
|
54
|
+
cd avm1
|
|
55
|
+
yarn unlink
|
|
56
|
+
yarn unlink @awayjs/core
|
|
57
|
+
yarn unlink @awayjs/view
|
|
58
|
+
yarn unlink @awayjs/stage
|
|
59
|
+
yarn unlink @awayjs/renderer
|
|
60
|
+
yarn unlink @awayjs/graphics
|
|
61
|
+
yarn unlink @awayjs/materials
|
|
62
|
+
yarn unlink @awayjs/scene
|
|
63
|
+
yarn unlink @awayfl/swf-loader
|
|
64
|
+
cd..
|
|
65
|
+
|
|
66
|
+
echo [32m unlink "@awayfl/swf-loader" module[0m
|
|
67
|
+
cd swf-loader
|
|
68
|
+
yarn unlink
|
|
69
|
+
yarn unlink @awayjs/core
|
|
70
|
+
yarn unlink @awayjs/view
|
|
71
|
+
yarn unlink @awayjs/stage
|
|
72
|
+
yarn unlink @awayjs/renderer
|
|
73
|
+
yarn unlink @awayjs/graphics
|
|
74
|
+
yarn unlink @awayjs/materials
|
|
75
|
+
yarn unlink @awayjs/scene
|
|
76
|
+
|
|
77
|
+
cd..
|
|
78
|
+
|
|
79
|
+
cd..
|
|
80
|
+
|
|
81
|
+
cd @awayjs
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
echo [32m unlink "@awayjs/scene" module[0m
|
|
85
|
+
cd scene
|
|
86
|
+
yarn unlink
|
|
87
|
+
yarn unlink @awayjs/core
|
|
88
|
+
yarn unlink @awayjs/stage
|
|
89
|
+
yarn unlink @awayjs/view
|
|
90
|
+
yarn unlink @awayjs/renderer
|
|
91
|
+
yarn unlink @awayjs/graphics
|
|
92
|
+
yarn unlink @awayjs/materials
|
|
93
|
+
cd..
|
|
94
|
+
|
|
95
|
+
echo [32m unlink "@awayjs/materials" module[0m
|
|
96
|
+
cd materials
|
|
97
|
+
yarn unlink
|
|
98
|
+
yarn unlink @awayjs/core
|
|
99
|
+
yarn unlink @awayjs/stage
|
|
100
|
+
yarn unlink @awayjs/renderer
|
|
101
|
+
yarn unlink @awayjs/view
|
|
102
|
+
cd..
|
|
103
|
+
|
|
104
|
+
echo [32m unlink "@awayjs/graphics" module[0m
|
|
105
|
+
cd graphics
|
|
106
|
+
yarn unlink
|
|
107
|
+
yarn unlink @awayjs/core
|
|
108
|
+
yarn unlink @awayjs/stage
|
|
109
|
+
yarn unlink @awayjs/view
|
|
110
|
+
yarn unlink @awayjs/renderer
|
|
111
|
+
cd..
|
|
112
|
+
|
|
113
|
+
echo [32m unlink "@awayjs/renderer" module[0m
|
|
114
|
+
cd renderer
|
|
115
|
+
yarn unlink
|
|
116
|
+
yarn unlink @awayjs/core
|
|
117
|
+
yarn unlink @awayjs/stage
|
|
118
|
+
yarn unlink @awayjs/view
|
|
119
|
+
cd..
|
|
120
|
+
|
|
121
|
+
echo [32m unlink "@awayjs/view" module[0m
|
|
122
|
+
cd view
|
|
123
|
+
yarn unlink
|
|
124
|
+
yarn unlink @awayjs/core
|
|
125
|
+
yarn unlink @awayjs/stage
|
|
126
|
+
cd..
|
|
127
|
+
|
|
128
|
+
echo [32m unlink "@awayjs/stage" module[0m
|
|
129
|
+
cd stage
|
|
130
|
+
yarn unlink
|
|
131
|
+
yarn unlink @awayjs/core
|
|
132
|
+
cd..
|
|
133
|
+
|
|
134
|
+
echo [32m unlink "@awayjs/core" module[0m
|
|
135
|
+
cd core
|
|
136
|
+
yarn unlink
|
|
137
|
+
cd..
|
|
138
|
+
|
|
139
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
140
|
+
exit
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
echo [32m Unlinks all AwayFL modules from "@awayfl", and all and AwayJS modules from "@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 unlink "awayfl-player" module[0m
|
|
8
|
+
cd awayfl-player
|
|
9
|
+
pnpm unlink
|
|
10
|
+
pnpm unlink @awayjs/core
|
|
11
|
+
pnpm unlink @awayjs/stage
|
|
12
|
+
pnpm unlink @awayjs/view
|
|
13
|
+
pnpm unlink @awayjs/renderer
|
|
14
|
+
pnpm unlink @awayjs/graphics
|
|
15
|
+
pnpm unlink @awayjs/materials
|
|
16
|
+
pnpm unlink @awayjs/scene
|
|
17
|
+
pnpm unlink @awayfl/swf-loader
|
|
18
|
+
pnpm unlink @awayfl/avm1
|
|
19
|
+
pnpm unlink @awayfl/avm2
|
|
20
|
+
pnpm unlink @awayfl/playerglobal
|
|
21
|
+
cd..
|
|
22
|
+
|
|
23
|
+
cd @awayfl
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
echo [32m unlink "@awayfl/playerglobal" module[0m
|
|
27
|
+
cd playerglobal
|
|
28
|
+
pnpm unlink
|
|
29
|
+
pnpm unlink @awayjs/core
|
|
30
|
+
pnpm unlink @awayjs/stage
|
|
31
|
+
pnpm unlink @awayjs/view
|
|
32
|
+
pnpm unlink @awayjs/renderer
|
|
33
|
+
pnpm unlink @awayjs/graphics
|
|
34
|
+
pnpm unlink @awayjs/materials
|
|
35
|
+
pnpm unlink @awayjs/scene
|
|
36
|
+
pnpm unlink @awayfl/swf-loader
|
|
37
|
+
pnpm unlink @awayfl/avm2
|
|
38
|
+
cd..
|
|
39
|
+
|
|
40
|
+
echo [32m unlink "@awayfl/avm2" module[0m
|
|
41
|
+
cd avm2
|
|
42
|
+
pnpm unlink
|
|
43
|
+
pnpm unlink @awayjs/core
|
|
44
|
+
pnpm unlink @awayjs/view
|
|
45
|
+
pnpm unlink @awayjs/renderer
|
|
46
|
+
pnpm unlink @awayjs/graphics
|
|
47
|
+
pnpm unlink @awayjs/materials
|
|
48
|
+
pnpm unlink @awayjs/scene
|
|
49
|
+
pnpm unlink @awayjs/stage
|
|
50
|
+
pnpm unlink @awayfl/swf-loader
|
|
51
|
+
cd..
|
|
52
|
+
|
|
53
|
+
echo [32m unlink "@awayfl/avm1" module[0m
|
|
54
|
+
cd avm1
|
|
55
|
+
pnpm unlink
|
|
56
|
+
pnpm unlink @awayjs/core
|
|
57
|
+
pnpm unlink @awayjs/view
|
|
58
|
+
pnpm unlink @awayjs/stage
|
|
59
|
+
pnpm unlink @awayjs/renderer
|
|
60
|
+
pnpm unlink @awayjs/graphics
|
|
61
|
+
pnpm unlink @awayjs/materials
|
|
62
|
+
pnpm unlink @awayjs/scene
|
|
63
|
+
pnpm unlink @awayfl/swf-loader
|
|
64
|
+
cd..
|
|
65
|
+
|
|
66
|
+
echo [32m unlink "@awayfl/swf-loader" module[0m
|
|
67
|
+
cd swf-loader
|
|
68
|
+
pnpm unlink
|
|
69
|
+
pnpm unlink @awayjs/core
|
|
70
|
+
pnpm unlink @awayjs/view
|
|
71
|
+
pnpm unlink @awayjs/stage
|
|
72
|
+
pnpm unlink @awayjs/renderer
|
|
73
|
+
pnpm unlink @awayjs/graphics
|
|
74
|
+
pnpm unlink @awayjs/materials
|
|
75
|
+
pnpm unlink @awayjs/scene
|
|
76
|
+
|
|
77
|
+
cd..
|
|
78
|
+
|
|
79
|
+
cd..
|
|
80
|
+
|
|
81
|
+
cd @awayjs
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
echo [32m unlink "@awayjs/scene" module[0m
|
|
85
|
+
cd scene
|
|
86
|
+
pnpm unlink
|
|
87
|
+
pnpm unlink @awayjs/core
|
|
88
|
+
pnpm unlink @awayjs/stage
|
|
89
|
+
pnpm unlink @awayjs/view
|
|
90
|
+
pnpm unlink @awayjs/renderer
|
|
91
|
+
pnpm unlink @awayjs/graphics
|
|
92
|
+
pnpm unlink @awayjs/materials
|
|
93
|
+
cd..
|
|
94
|
+
|
|
95
|
+
echo [32m unlink "@awayjs/materials" module[0m
|
|
96
|
+
cd materials
|
|
97
|
+
pnpm unlink
|
|
98
|
+
pnpm unlink @awayjs/core
|
|
99
|
+
pnpm unlink @awayjs/stage
|
|
100
|
+
pnpm unlink @awayjs/renderer
|
|
101
|
+
pnpm unlink @awayjs/view
|
|
102
|
+
cd..
|
|
103
|
+
|
|
104
|
+
echo [32m unlink "@awayjs/graphics" module[0m
|
|
105
|
+
cd graphics
|
|
106
|
+
pnpm unlink
|
|
107
|
+
pnpm unlink @awayjs/core
|
|
108
|
+
pnpm unlink @awayjs/stage
|
|
109
|
+
pnpm unlink @awayjs/view
|
|
110
|
+
pnpm unlink @awayjs/renderer
|
|
111
|
+
cd..
|
|
112
|
+
|
|
113
|
+
echo [32m unlink "@awayjs/renderer" module[0m
|
|
114
|
+
cd renderer
|
|
115
|
+
pnpm unlink
|
|
116
|
+
pnpm unlink @awayjs/core
|
|
117
|
+
pnpm unlink @awayjs/stage
|
|
118
|
+
pnpm unlink @awayjs/view
|
|
119
|
+
cd..
|
|
120
|
+
|
|
121
|
+
echo [32m unlink "@awayjs/view" module[0m
|
|
122
|
+
cd view
|
|
123
|
+
pnpm unlink
|
|
124
|
+
pnpm unlink @awayjs/core
|
|
125
|
+
pnpm unlink @awayjs/stage
|
|
126
|
+
cd..
|
|
127
|
+
|
|
128
|
+
echo [32m unlink "@awayjs/stage" module[0m
|
|
129
|
+
cd stage
|
|
130
|
+
pnpm unlink
|
|
131
|
+
pnpm unlink @awayjs/core
|
|
132
|
+
cd..
|
|
133
|
+
|
|
134
|
+
echo [32m unlink "@awayjs/core" module[0m
|
|
135
|
+
cd core
|
|
136
|
+
pnpm unlink
|
|
137
|
+
cd..
|
|
138
|
+
|
|
139
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
140
|
+
exit
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
set -euo pipefail
|
|
2
2
|
|
|
3
|
+
cd $(dirname "$0")
|
|
4
|
+
|
|
3
5
|
function updateIfNeeded () {
|
|
4
6
|
set +e
|
|
5
7
|
UP_TO_DATE=`git pull origin $1 2>/dev/null | grep "Already up to date" | wc -l`
|
|
@@ -83,4 +85,7 @@ echo [32m Checkout and build "awayfl-player" module if needed[0m
|
|
|
83
85
|
cd ..
|
|
84
86
|
cd awayfl-player
|
|
85
87
|
updateIfNeeded dev
|
|
86
|
-
cd ..
|
|
88
|
+
cd ..
|
|
89
|
+
|
|
90
|
+
read -n 1 -s -r -p "Press any key to continue . . ."
|
|
91
|
+
exit
|
|
File without changes
|