Feature docs (#161)
* docs: 📝 update readme * docs(CONTRIBUTING): 添加Tauri开发环境依赖说明 * build: 🏗️ 部署github pages时应该把index.html复制一份成为404.html确保刷新可访问
This commit is contained in:
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
推荐使用`pnpm`来进行包的管理。
|
推荐使用`pnpm`来进行包的管理。
|
||||||
|
|
||||||
|
开发/打包tauri应用程序需要rust环境,请自行[安装](https://rustup.rs/)
|
||||||
|
|
||||||
克隆仓库后,运行:
|
克隆仓库后,运行:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -41,6 +41,7 @@ jobs:
|
|||||||
- name: Prepare directories
|
- name: Prepare directories
|
||||||
run: |
|
run: |
|
||||||
mv dist dist-prod
|
mv dist dist-prod
|
||||||
|
cp dist-prod/index.html dist-prod/404.html
|
||||||
|
|
||||||
- name: Create production build archive
|
- name: Create production build archive
|
||||||
run: |
|
run: |
|
||||||
@@ -126,4 +127,4 @@ jobs:
|
|||||||
name: 'Release ${{ github.ref_name }}'
|
name: 'Release ${{ github.ref_name }}'
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: false
|
prerelease: false
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user