mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
快捷方式删除功能
This commit is contained in:
@@ -40,6 +40,9 @@ if "-w" in sys.argv:
|
||||
wineProgram = sys.argv[wineCommand + 2]
|
||||
except:
|
||||
pass
|
||||
badChar = [
|
||||
"(", "?", "*", "!", ")", "&", "'", "\""
|
||||
]
|
||||
with open(sys.argv[1], "rb") as file:
|
||||
while True:
|
||||
things = file.readline()
|
||||
@@ -49,7 +52,11 @@ with open(sys.argv[1], "rb") as file:
|
||||
if n.encode() in things:
|
||||
# 提取 DLL 名称
|
||||
for i in str(things[1: -2]).split("\\x"):
|
||||
if n in i and not "(" in i and i[0] != "/":
|
||||
charBad = False
|
||||
for b in badChar:
|
||||
if b in i:
|
||||
charBad = True
|
||||
if n in i and not charBad and i[0] != "/":
|
||||
name = i[2: ].replace(",{M", "").replace("+", "")
|
||||
# 文件路径合法性检测
|
||||
|
||||
|
||||
9
CheckDLL/bash/mfc100.dll.sh
Normal file
9
CheckDLL/bash/mfc100.dll.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env deepin-wine-runner-auto-install-bash
|
||||
# 使用 Wine 运行器的语言解析器
|
||||
##########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 更新时间:2022年11月19日
|
||||
##########################################################################################
|
||||
# 用于判断是否为 bash 解释器
|
||||
installvcpp 4
|
||||
info 提示 修复完成!重新检测即可
|
||||
@@ -1,2 +1,9 @@
|
||||
#!/usr/bin/env deepin-wine-runner-auto-install-bash
|
||||
# 使用 Wine 运行器的语言解析器
|
||||
##########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 更新时间:2022年11月03日
|
||||
##########################################################################################
|
||||
# 用于判断是否为 bash 解释器
|
||||
installother 2
|
||||
info 提示 修复完成!重新检测即可
|
||||
|
||||
9
CheckDLL/bash/msvbvm60.dll.sh
Normal file
9
CheckDLL/bash/msvbvm60.dll.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env deepin-wine-runner-auto-install-bash
|
||||
# 使用 Wine 运行器的语言解析器
|
||||
##########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 更新时间:2022年11月19日
|
||||
##########################################################################################
|
||||
# 用于判断是否为 bash 解释器
|
||||
installvb 4
|
||||
info 提示 修复完成!重新检测即可
|
||||
Reference in New Issue
Block a user