mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
更换为xfreerdp
This commit is contained in:
parent
803eb09b5a
commit
89b812e6a6
@ -1893,11 +1893,11 @@ def ChangePath():
|
|||||||
e1.setCurrentText(f'{setting["DefultBotton"]}/{os.path.splitext(os.path.basename(e2.currentText()))[0]}')
|
e1.setCurrentText(f'{setting["DefultBotton"]}/{os.path.splitext(os.path.basename(e2.currentText()))[0]}')
|
||||||
|
|
||||||
def ConnectRemoteWindowsPC(ip: str):
|
def ConnectRemoteWindowsPC(ip: str):
|
||||||
if os.system("which rdesktop"):
|
if os.system("which xfreerdp"):
|
||||||
if QtWidgets.QMessageBox.question(window, "提示", "未检测到 rdesktop,是否立即安装?") == QtWidgets.QMessageBox.Yes:
|
if QtWidgets.QMessageBox.question(window, "提示", "未检测到 xfreerdp,是否立即安装?") == QtWidgets.QMessageBox.Yes:
|
||||||
OpenTerminal("sudo apt install rdesktop -y")
|
OpenTerminal("sudo apt install xfreerdp -y")
|
||||||
return
|
return
|
||||||
os.system(f"rdesktop '{ip}'")
|
os.system(f"xfreerdp '{ip}'")
|
||||||
|
|
||||||
def UploadLog():
|
def UploadLog():
|
||||||
if QtWidgets.QMessageBox.question(window, "提示", "您确定要上传吗?上传内容将不会公开,将用于加强日志分析功能") == QtWidgets.QMessageBox.Yes:
|
if QtWidgets.QMessageBox.question(window, "提示", "您确定要上传吗?上传内容将不会公开,将用于加强日志分析功能") == QtWidgets.QMessageBox.Yes:
|
||||||
|
Loading…
Reference in New Issue
Block a user