script-cicd
parent
7d4240bbfb
commit
9710219bf3
18
README.md
18
README.md
|
@ -41,25 +41,33 @@ SoyooFacade.InstallGame()
|
|||
0. 把目标目录web-mobile复制到soyoo-cocos目录下。
|
||||
1. 删掉index.html里的js代码部分
|
||||
2. 在body最后加上
|
||||
`<script src="loader-and-starter.js" charset="utf-8"></script>
|
||||
<script src="asset-map.js" charset="utf-8"></script>`
|
||||
`
|
||||
|
||||
<script src="loader-and-starter.js" charset="utf-8"></script>
|
||||
<script src="asset-map.js" charset="utf-8"></script>
|
||||
|
||||
`
|
||||
|
||||
## 渠道处理
|
||||
### applovin
|
||||
1. 把networks/applovin.js 复制到web-mobile下
|
||||
2. 编辑复制的applovin.js, 在前几行填入对应的iosUrl和androidUrl
|
||||
3. 编辑index.html,在body最后加上
|
||||
`<script src="applovin.js" charset="utf-8"></script>`
|
||||
`js
|
||||
<script src="applovin.js" charset="utf-8"></script>
|
||||
`
|
||||
|
||||
### applovin
|
||||
1. 把networks/mintegral.js 复制到web-mobile下
|
||||
2. 编辑index.html,在body最后加上
|
||||
`<script src="mintegral.js" charset="utf-8"></script>`
|
||||
`
|
||||
<script src="mintegral.js" charset="utf-8"></script>
|
||||
`
|
||||
|
||||
### moloco
|
||||
1. 把`networks/moloco.js`复制到web-mobile目录下。
|
||||
2. 编辑index.html,在body最后加上
|
||||
```
|
||||
```js
|
||||
<script src="moloco.js" charset="utf-8"></script>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue