* 固定 dashboard 版本为 v0.20.13 * Use v0.20.13 for dashboard & add warning in menu
这里存放着所有关于哪吒监控官方安装脚本的文件。
如何贡献:
- 仅更新
template.sh,不要编辑install.sh或者install_en.sh,因为它们是生成的文件。如果你需要文本输出,请使用 Go 模板(比如{{.Placeholder}})。 template.sh必须兼容 POSIX sh,可以使用 https://www.shellcheck.net/ 确认。- 如果你在
template.sh添加了任何模板,请同步更新locale.json。 - 运行
make。如果不能运行,请检查是否安装了go和make。
对于其它没有本地化的脚本(比如 Windows 和 macOS 的),请直接更改。
Here lies everything related to the official Nezha installation script.
How to contribute:
- Update
template.shonly. Do not editinstall.shorinstall_en.sh, for they're generated files. Use Go templates (e.g.{{.Placeholder}}) if printing text is needed. template.shmust be POSIX-compliant. To confirm it, you can use https://www.shellcheck.net/.- Update
locale.jsonif any template is added intemplate.sh. - Run
make. Remember to havegoandmakeinstalled.
For other scripts that don't have localization (like the Windows or macOS one), edit them directly.
Description
Languages
Shell
92.3%
PowerShell
5%
Go
2.5%
Makefile
0.2%