Files
go_win_template/build
Geliebte a2a1161f10 feat: 接入托盘 / 添加图标生成工具 / 重命名并完善前端
- 托盘:用 getlantern/systray 重写 internal/tray,支持显示/隐藏窗口与退出
- 图标:新增 pkg/icongen 工具,支持 png/jpg/gif/bmp/webp,输出 ico/png 多个尺寸
- 重命名:项目默认名改为「青梧映星」,wails.json/productname/companyname/copyright 同步更新
- 顶栏:新增顶部导航栏(主题切换、设置、用户),iconfont 自托管 fa-solid-900.woff2
- 主题:CSS 变量 + html[data-theme] 控制白昼/黑夜切换,同时调用 WindowSetDarkTheme/LightTheme
- 底部:版权栏包含工作室、开发者与点击跳转客服链接
- 打包:wails build + exe 版本更新至 1.20 MB
2026-09-18 01:30:13 +08:00
..

Build Directory

The build directory is used to house all the build files and assets for your application.

The structure is:

  • bin - Output directory
  • darwin - macOS specific files
  • windows - Windows specific files

Mac

The darwin directory holds files specific to Mac builds. These may be customised and used as part of the build. To return these files to the default state, simply delete them and build with wails build.

The directory contains the following files:

  • Info.plist - the main plist file used for Mac builds. It is used when building using wails build.
  • Info.dev.plist - same as the main plist file but used when building using wails dev.

Windows

The windows directory contains the manifest and rc files used when building with wails build. These may be customised for your application. To return these files to the default state, simply delete them and build with wails build.

  • icon.ico - The icon used for the application. This is used when building using wails build. If you wish to use a different icon, simply replace this file with your own. If it is missing, a new icon.ico file will be created using the appicon.png file in the build directory.
  • installer/* - The files used to create the Windows installer. These are used when building using wails build.
  • info.json - Application details used for Windows builds. The data here will be used by the Windows installer, as well as the application itself (right click the exe -> properties -> details)
  • wails.exe.manifest - The main application manifest file.