player脚本更新
This commit is contained in:
parent
0928fde6d5
commit
3414085e0f
|
@ -1,5 +1,5 @@
|
||||||
cd $CCC_CLIENT_DIR/protocol/player
|
cd $CCC_CLIENT_DIR/protocol/player
|
||||||
npx pbjs --dependency protobufjs/minimal.js --target static-module --wrap commonjs --out player.js ./*.proto
|
npx pbjs --dependency protobufjs/minimal.js --target static-module --wrap commonjs --out player.js ./*.proto --path $PUBLIC_DIR/
|
||||||
npx pbts --main --out ./player.d.ts ./player.js
|
npx pbts --main --out ./player.d.ts ./player.js
|
||||||
|
|
||||||
cp ./player.d.ts ./player.js $CCC_CLIENT_DIR/vietnam/assets/ScriptCore/protocol
|
cp ./player.d.ts ./player.js $CCC_CLIENT_DIR/vietnam/assets/ScriptCore/protocol
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue