- Wails v2 + Go 1.21+ + Vue 3 dark UI - 3 buttons: Check env (auto-install dsh) / Start dsh web / Stop - 升级 / 检查版本 一键按钮 - 启动后窗口自动最小化到 Dock - 顶部 logo 鼠标 hover 显示大图预览 - scripts/: build-mac.sh, build-windows.bat, install-app.sh - ui-design/: 视觉设计稿 (HTML + tokens)
35 lines
1.6 KiB
Markdown
35 lines
1.6 KiB
Markdown
# 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. |