- Go 主进程 cmd/zerorigin(托盘常驻 + 触发器/规则/动作引擎) - Wails v3 设置进程 cmd/settings(独立 module) - 监督进程 cmd/watchdog(-supervise 异常重启) - 构建脚本 build.bat / NSIS 安装包 deploy/、便携版 portable/ - 架构与 MVP 计划文档 docs/、阶段 0-4 验收记录 deploy/acceptance-0-4.md
12 lines
306 B
Go
12 lines
306 B
Go
//go:build android
|
|
|
|
package main
|
|
|
|
import "github.com/wailsapp/wails/v3/pkg/application"
|
|
|
|
func init() {
|
|
// Register main function to be called when the Android app initializes
|
|
// This is necessary because in c-shared build mode, main() is not automatically called
|
|
application.RegisterAndroidMain(main)
|
|
}
|