# stickynote **Repository Path**: liyangouter/stickynote ## Basic Information - **Project Name**: stickynote - **Description**: 心愿便利贴,桌面小组件 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-23 - **Last Updated**: 2026-07-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # README ## About This is the official Wails Vanilla template. You can configure the project by editing `wails.json`. More information about the project settings can be found here: https://wails.io/docs/reference/project-config ## Live Development To run in live development mode, run `wails dev` in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools. ## Building To build a redistributable, production mode package, use `wails build`. ## 源码编译安装运行 1. 安装wails命令行工具 > `go install github.com/wailsapp/wails/v2/cmd/wails@latest` 2. 用wails初始化项目: `-t vanilla`表示使用原生js,不依赖前端框架 > `wails init -n stickynote -t vanilla` 3. 编译调试: 编译成功会自动打开窗口,监听代码变更自动rebuild > `walis dev` 4. 打包成应用程序 > `wails build` ## 关键目录文件说明 - `/main.go`: 后端入口文件,用于初始化窗体属性(大小、样式等) - `/app.go`: 应用后端功能,若涉及文件操作、连接数据库、使用系统功能等可以在这里写 - `/frontend/index.html`: 前端页面 - `/build/appicon.png`: 应用图标 - `/build/windows/icon.ico`: 应用在windows环境下的图标文件,打包使用,从appicon.png转换而来 - `/build/bin/stickynote.exe`: `wails build`构建出来的应用程序