docs: 添加构建配置
添加版权、作者信息,修改打包出的 Windows 安装包后缀 `en_US` 到 `zh_CN`
This commit is contained in:
2 files changed
+20
-2
No files matched your search
@@ -17,21 +17,29 @@
|
||||
|
||||
下载对应操作系统的安装包,执行安装即可。
|
||||
|
||||
> 由于作者目前 Rust 水平有限,无法去除打包后的 `en_US` Locale 后缀,但实际语言仍然为中文。
|
||||
包类型(文件后缀):
|
||||
|
||||
- Windows: `x64.msi`
|
||||
- macOS
|
||||
- Intel: `x64.dmg`
|
||||
- Apple Silicon: `aarch64.dmg`
|
||||
|
||||
## 什么原理
|
||||
|
||||
收集整理了N条骂人的句子,然后随机读取一条输出即可。
|
||||
|
||||
核心代码就一行:
|
||||
|
||||
```sql
|
||||
SELECT * FROM `main` ORDER BY RANDOM() limit 1
|
||||
```
|
||||
|
||||
## 词库都是怎么来的
|
||||
|
||||
最初来源于网络收集了一些,后来基本就都是各位用户的投稿了,投稿渠道现已关闭。
|
||||
|
||||
## 写在最后
|
||||
|
||||
还有其他好玩的生成器,比如彩虹屁生成器、毒鸡汤、朋友圈文案等等,请访问 https://shadiao.app 体验。
|
||||
|
||||
同时也欢迎交流,可以扫码加微信,请备注 `github`,同时有**粉丝群**与**开发者群**,有兴趣可以私聊告知,会尽快拉你。
|
||||
|
||||
@@ -23,7 +23,17 @@
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"publisher": "Zihlu Wang",
|
||||
"category": "Utility",
|
||||
"targets": ["dmg", "msi"],
|
||||
"windows": {
|
||||
"wix": {
|
||||
"language": "zh-CN"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"licenseFile": "../LICENSE",
|
||||
"copyright": "Data Collected by @cndiandian, Developed by @zihluwang.",
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
"icons/128x128.png",
|
||||
|
||||
Reference in new issue
Block a user