From 640d6b70dbc29e60867414bc9d58f2fac78a8e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E4=BC=B4?= <1806620741@qq.com> Date: Fri, 22 Sep 2023 17:53:27 +0000 Subject: [PATCH] update --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 5 ++++- README.md | 4 ++-- README_CN.md | 19 +++++++++---------- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 264eea5..21f8205 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: pnpm install pnpm build pnpm go:build:win - mv jieshao.loract-umi-demo.exe loract-umi-demo_win_x64.exe + mv "jieshao.loract-umi-demo.exe" "loract-umi-demo_win_x64.exe" - name: Upload windows artifact uses: actions/github-action-publish-binaries@v2 env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5debbc9..1500b70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -## [0.0.1] - 2023-09-22 +## [1.1.0] - 2023-09-22 +1. umi4 + +## [1.0.0] - 2023-09-22 ### 支持 1. umi3 2. chrome < 117 diff --git a/README.md b/README.md index 7632b2f..3997f81 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ go mod vendor # build ```shell # build resource -yarn build +pnpm build # build binary program -yarn go:build:win +pnpm go:build:win ``` \ No newline at end of file diff --git a/README_CN.md b/README_CN.md index a77bb3f..d7cc647 100644 --- a/README_CN.md +++ b/README_CN.md @@ -2,9 +2,9 @@ ## 版本信息 ``` -os: win10 -umi 3.5.26 -node v16.20.2 +os: win11 +Umi v4.0.81 +node v20.6.1 go1.21.1 chrome 117.** ``` @@ -12,16 +12,16 @@ nodejs总是有版本不兼容问题,敬请注意 ## 开始 -安装依赖, +安装依赖 ```bash -$ yarn +$ pnpm install ``` 开启dev服务,会启动8000端口 ```bash -$ yarn start +$ pnpm start ``` 开启lorca go界面程序,监听8000端口 @@ -36,8 +36,7 @@ go run . # 手动构建工程 ```bash # 创建umi 参考 https://umijs.org/zh-CN/docs/getting-started -yarn create @umijs/umi-app -yarn +pnpm dlx create-umi@latest # go 初始化 go mod init jieshao.loract-umi-demo @@ -55,7 +54,7 @@ go mod vendor # 构建 ```shell # 构建资源文件 -yarn build +pnpm build # 构建二进制文件 -yarn go:build:win +pnpm go:build:win ``` \ No newline at end of file