Merge branch 'master' of https://github.com/tw93/pake
This commit is contained in:
13
README.md
13
README.md
@@ -255,6 +255,13 @@ Pake 的发展离不开这些 Hacker 们,一起贡献了大量能力,也欢
|
||||
<sub><b>Ayaka Neko</b></sub>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/turkyden">
|
||||
<img src="https://avatars.githubusercontent.com/u/24560160?v=4" width="90;" alt="turkyden"/>
|
||||
<br />
|
||||
<sub><b>Dengju Deng</b></sub>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/princemaple">
|
||||
<img src="https://avatars.githubusercontent.com/u/1329716?v=4" width="90;" alt="princemaple"/>
|
||||
@@ -268,15 +275,15 @@ Pake 的发展离不开这些 Hacker 们,一起贡献了大量能力,也欢
|
||||
<br />
|
||||
<sub><b>Hyzhao</b></sub>
|
||||
</a>
|
||||
</td>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="https://github.com/liusishan">
|
||||
<img src="https://avatars.githubusercontent.com/u/33129823?v=4" width="90;" alt="liusishan"/>
|
||||
<br />
|
||||
<sub><b>Liusishan</b></sub>
|
||||
</a>
|
||||
</td></tr>
|
||||
<tr>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/piaoyidage">
|
||||
<img src="https://avatars.githubusercontent.com/u/5135405?v=4" width="90;" alt="piaoyidage"/>
|
||||
|
||||
2
bin/README.md
vendored
2
bin/README.md
vendored
@@ -8,7 +8,7 @@ npm install -g pake-cli
|
||||
|
||||
此外,请确保你使用的是正确的 Node.js 版本(`^14.13 || >=16.0.0`)。如果你在使用 [nvm](https://github.com/nvm-sh/nvm) 进行 Node.js 版本管理,可以尝试在项目的目录下运行 `nvm use`,就会拿到正确的版本;其他一众 Node.js 版本工具,比如 [fnm](https://github.com/Schniz/fnm)、[tj/n](https://github.com/tj/n) 应该也有类似的功能。
|
||||
|
||||
**尽量不要使用 `sudo` 权限**。 如果实在要用sudo,请手动安装rust到系统环境。Mac可以用brew命令安装,Linux如Ubuntu可以用apt命令安装。
|
||||
**尽量不要使用 `sudo` 权限**。 如果实在要用 sudo,请手动安装 rust 到系统环境。Mac 可以用 brew 命令安装,Linux 如 Ubuntu 可以用 apt 命令安装。
|
||||
|
||||
|
||||
## 用法
|
||||
|
||||
2
script/build.bat
vendored
2
script/build.bat
vendored
@@ -50,7 +50,7 @@ for /f "skip=1 tokens=1-4 delims=," %%i in (app.csv) do (
|
||||
|
||||
::echo name is !name! !name_zh! !url!
|
||||
:: replace url
|
||||
.\script\sd.exe !old_url! !url! src-tauri\tauri.conf.json
|
||||
.\script\sd.exe -s !old_url! !url! src-tauri\tauri.conf.json
|
||||
::replace pacakge name
|
||||
.\script\sd.exe !old_title! !title! src-tauri\tauri.conf.json
|
||||
.\script\sd.exe !old_name! !name! src-tauri\tauri.windows.conf.json
|
||||
|
||||
2
script/build.sh
vendored
2
script/build.sh
vendored
@@ -67,7 +67,7 @@ do
|
||||
package_zh_name=${arr[2]}
|
||||
url=${arr[3]}
|
||||
# replace package info
|
||||
$sd "${old_url}" "${url}" src-tauri/tauri.conf.json
|
||||
$sd -s "${old_url}" "${url}" src-tauri/tauri.conf.json
|
||||
$sd "${old_name}" "${package_name}" src-tauri/tauri.conf.json
|
||||
# echo "update ico with 32x32 pictue"
|
||||
# $sd "${old_name}" "${package_name}" src-tauri/src/main.rs
|
||||
|
||||
Reference in New Issue
Block a user