diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index fca0ae2..4af6ffb 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -5,9 +5,8 @@ ## PR检查表 - 该项目主要的工作分支有`main`和`dev` - - `main`分支包含的是已经发布的功能,请勿提交PR到`main`分支。 - - 如要贡献代码,请从`dev`分支拉取代码,该分支一般包含最新待上线的功能。 - - 你的代码提交(添加新功能、修复bug、优化性能等)需要发起PR到`dev`分支 + - 如要贡献代码,请从`dev`分支拉取代码,避免代码冲突,该分支一般包含最新待上线的功能。 + - 你的代码提交(添加新功能、修复bug、优化性能等)尽量发起PR到`dev`分支 - 请尽可能地在您的PR请求中描述清楚添加的功能或者修复的问题 - 在一个PR中有多个小提交是没问题的,但请确保每个提交都包含一个清晰的提交信息。 - 请确保您的提交信息遵循[Conventional Commits](https://www.conventionalcommits.org/)规范。 @@ -32,6 +31,12 @@ pnpm install # 安装依赖 pnpm dev ``` +启动tauri的开发服务 + +```bash +pnpm tauri dev +``` + ### `pnpm build` 构建项目 @@ -40,12 +45,10 @@ pnpm dev pnpm build ``` -### `pnpm build:file` - -打包后的项目可以直接通过html文件的形式直接在浏览器打开 +打包tauri安装包 ```bash -pnpm build:file +pnpm tauri build ``` ### `pnpm lint:fix` diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f3974ab..762a4fa 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -4,8 +4,9 @@ name: Node.js CI on: - pull_request: - branches: [main] + push: + tags: + - 'v*' jobs: build: diff --git a/README.md b/README.md index 8cdd893..e42ab36 100644 --- a/README.md +++ b/README.md @@ -69,33 +69,27 @@ or ## 预览 首页 - -![image_home](./static/images/home.png) - -![image_home_prize_list](./static//images/home_prizelist.png) +
+ img2-1 + img2-2 +
抽奖 - -![image_lottery](./static/images/lottery-enter.png) - -![image_lottery_done](./static/images/lottery-done.png) +
+ img2-1 + img2-2 +
配置 - -![image_config_person_all](./static/images/config_personall.png) - -![image_config_prize_list](./static/images/config_prize.png) - -![image_config_view](./static/images/config-view.png) - -![image_config_pattern](./static/images/config_pattern.png) +
+ img2-1 + img2-1 + img2-1 + img2-1 +
图片音乐配置 -![image_config_img](./static/images/image_config.png) - -![image_music](./static/images/music_music.png) - ## 技术 - vue3 @@ -136,7 +130,7 @@ npm run build 以下任意方式选一种即可 -1. 拉取镜像 +1. 拉取镜像,从Docker Hub拉取镜像[log-lottery](https://hub.docker.com/r/log1997/log-lottery) ```bash docker pull log1997/log-lottery:latest @@ -160,7 +154,24 @@ npm run build docker run -d -p 9279:80 log-lottery ``` -容器运行成功后即可在本地通过访问 + 容器运行成功后即可在本地通过访问 + +3. 软件安装包 + + 可前往[Releases](https://github.com/LOG1997/log-lottery/releases)下载。 + 目前只支持windows平台使用,跨平台安装包暂不支持,如有需要请自行编译,参照[贡献文档](https://github.com/LOG1997/log-lottery/blob/dev/.github/CONTRIBUTING.md) + +## 支持项目 + +

💝 赞助支持

+ +

如果您觉得 log-lottery 对您有帮助,欢迎赞助支持,您的支持是我们不断前进的动力!

+ +
+ WeChat Code +
+ +
## Star History diff --git a/static/images/ZanShang.png b/static/images/ZanShang.png new file mode 100644 index 0000000..2eb92d8 Binary files /dev/null and b/static/images/ZanShang.png differ