mirror of
https://git-qiuchenly.yltfspace.com/QiuChenly/corepatch
synced 2025-11-26 00:58:30 +08:00
UPD: command
This commit is contained in:
9
秋神_启动.command
Executable file
9
秋神_启动.command
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit 1
|
||||
read -p "⚙️ 请输入密码(明文)然后回车: " -r passwd
|
||||
printf "\r\033[1A%s" "" 1>&2
|
||||
printf "\r\033[K%s" "" 1>&2
|
||||
find . -name "*.*" 2>/dev/null | xargs otool -l 2>/dev/null | grep -E "(minos|sdk)" 2>/dev/null
|
||||
echo "${passwd}" | sudo -S echo "⚙️ 当前是 $(sudo -S whoami) 用户"
|
||||
chmod +x tool/optool
|
||||
sudo -S python3 main.py
|
||||
Reference in New Issue
Block a user