Unity and Cocos stay as parallel schemes; apps/minigame ships the Godot 4.7 WeChat pack for DevTools. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
406 B
JavaScript
12 lines
406 B
JavaScript
import path from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..')
|
|
console.log('')
|
|
console.log('Cocos Dashboard / Creator → 打开工程:')
|
|
console.log(root)
|
|
console.log('')
|
|
console.log('构建微信小游戏后 → 微信开发者工具导入 build/wechatgame')
|
|
console.log('AppID: wx2900cac0858ca7dc')
|
|
console.log('')
|