mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2026-06-22 14:13:50 +08:00
修复在openkylin安装时依赖问题和进一步规范deb
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
def Remove(path):
|
||||
for i in os.listdir(path):
|
||||
nowPath = f"{path}/{i}"
|
||||
if os.path.isdir(nowPath):
|
||||
if i == "__pycache__":
|
||||
os.system(f"rm -rfv '{nowPath}'")
|
||||
else:
|
||||
Remove(nowPath)
|
||||
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
||||
debPath = f"{programPath}/deb"
|
||||
Remove(debPath)
|
||||
Reference in New Issue
Block a user