Compare commits

..

3 Commits

Author SHA1 Message Date
elseif
410c19d2ce Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
2025-10-09 11:25:48 +08:00
elseif
d5eea3df4b Update chr.sh
Signed-off-by: elseif <elseif@live.cn>
2025-09-29 11:22:03 +08:00
elseif
73559ce979 Update README.md
Signed-off-by: elseif <elseif@live.cn>
2025-09-28 00:21:06 +08:00
3 changed files with 6 additions and 4 deletions

View File

@@ -680,9 +680,9 @@ jobs:
sudo unzip netinstall.zip
sudo -E python3 patch.py netinstall netinstall.exe
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe
sudo tar -xvf netinstall.tar.gz
sudo -E python3 patch.py netinstall netinstall-cli
sudo tar -czvf netinstall-$LATEST_VERSION.tar.gz ./netinstall-cli
# sudo tar -xvf netinstall.tar.gz
# sudo -E python3 patch.py netinstall netinstall-cli
# sudo tar -czvf netinstall-$LATEST_VERSION.tar.gz ./netinstall-cli
- name: Prepare for Upload
if: steps.get_latest.outputs.has_new_version == 'true' && env.RELEASE == 'true'

View File

@@ -9,6 +9,8 @@ ETH/BSC/MATIC(USDT)0x7d5ade1bb74f170411ba4a9a6e8752d7b431b455
TRX(USDT): TJ1Spmytu9CFhDg4QSo3cmWSrBKjNXuUYP
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/O4O31LX7D0)
捐赠后请将交易号或链接通过tg或email发给我记录。
# MikroTik RouterOS Patch [[English](README_EN.md)]

2
chr.sh
View File

@@ -139,7 +139,7 @@ show_system_info() {
}
confirm_storge() {
if command -v curl >/dev/null 2>&1; then
if command -v lsblk >/dev/null 2>&1; then
STORAGE=$(lsblk -d -n -o NAME,TYPE | awk '$2=="disk"{print $1; exit}')
else
STORAGE=$(fdisk -l | awk '/^Disk \/dev/ {print $2; exit}' | sed 's#:##' | sed 's#/dev/##')