📋修正一些问题并增加英文文档
📋修正一些问题并增加英文文档 📋Fix some problems and add English documentation
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
参考下面图片自定义配置,**推荐修改带星号的内容**,其他可以使用默认
|
||||
|
||||

|
||||

|
||||
|
||||
## 6.发布以开始运行自动编译
|
||||
|
||||
@@ -65,14 +65,14 @@
|
||||
|
||||

|
||||
|
||||
- 点击下方的**Creat new tag**按钮
|
||||
- 点击下方的**Create new tag**按钮
|
||||
|
||||

|
||||
|
||||
- 填写标题和内容(可选)
|
||||
- 如果不是在master分支修改,需要在target下拉栏选择对应分支
|
||||
- 如果不是在`master`分支修改,需要在target下拉栏选择对应分支
|
||||
- 点击**Publish release**
|
||||
- 此时,前往actions页面,确保出现新workflow
|
||||
- 此时,前往actions页面,确保出现新workflows
|
||||
|
||||

|
||||
|
||||
|
||||
79
docs/README_EN.md
Normal file
79
docs/README_EN.md
Normal file
@@ -0,0 +1,79 @@
|
||||
# GitHub Actions compilation and configuration tutorial
|
||||
|
||||
## 1. Fork this project
|
||||
|
||||
[Fork this project](https://github.com/tw93/Pake/fork)
|
||||
|
||||
## 2. Go to the actions page to enable GitHub actions
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 3. Modify the app.csv file
|
||||
|
||||

|
||||
|
||||
Modify the app.csv file and replace the content after the second line with custom content
|
||||
|
||||

|
||||
|
||||
The format is: `Linux application name, Mac and Windows application name, Chinese character name, URL`, pay attention to use English commas to separate
|
||||
|
||||
## 4. Upload icon
|
||||
|
||||
- Upload the .icns file to the `/src-tauri/icons` directory (required)
|
||||
- Upload the .ico and .png files to the `/src-tauri/png` directory (you can skip this step if you use the script to convert automatically)
|
||||
|
||||
**Note: Two .ico files and one .png file are required, refer to the table below**
|
||||
|
||||
|
||||
|
||||
| File Name | Description |
|
||||
| ----------- | --------------------------------- |
|
||||
| app_32.ico | A ico file with a size of 32*32 |
|
||||
| app_256.ico | A ico file with a size of 256*256 |
|
||||
| app_512.png | A png file with a size of 512*512 |
|
||||
|
||||
> You can also directly git the entire project to the local, and use the icns2png.py file in the project root directory to batch convert .icns files into .ico and .png files (.icns files are required)
|
||||
>
|
||||
> Don't forget to upload the corresponding file after the conversion is complete
|
||||
|
||||
## 5. Change the configuration file (optional, used to further customize the compiled program)
|
||||
|
||||
Go to the `/src-tauri/` directory and modify the **tauri.conf.json** file
|
||||
|
||||
Refer to the picture below to customize the configuration. **It is recommended to modify the content with an asterisk**. Others can use the default
|
||||
|
||||

|
||||
|
||||
## 6. Publish to start running automatic compilation
|
||||
|
||||
- Click to go to the Releases page
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
- Click **Create a new release**
|
||||
|
||||

|
||||
|
||||
- Click **Choose a tag** and enter `V0.1.0` (the version number can be customized, but **must start with a capital V**)
|
||||
|
||||

|
||||
|
||||
- Click the **Create new tag** button below
|
||||
|
||||

|
||||
|
||||
- Fill in title and content (optional)
|
||||
- If you are not modifying in the `master` branch, you need to select the corresponding branch in the target drop-down bar
|
||||
- Click **Publish release**
|
||||
- At this point, go to the actions page and make sure the new workflows appear
|
||||
|
||||

|
||||
|
||||
After the compilation is completed, you can see the files generated after the compilation is completed on the release page (compilation takes about 10-30 minutes)
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 73 KiB |
BIN
docs/assets/image-20221206112931624.png
Normal file
BIN
docs/assets/image-20221206112931624.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
BIN
docs/assets/image-20221206113351850.png
Normal file
BIN
docs/assets/image-20221206113351850.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
Reference in New Issue
Block a user