mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2026-04-04 22:50:24 +08:00
修改DEBIAN/postinst
This commit is contained in:
10
deb/opt/apps/deepin-wine-runner/RunCommandWithTerminal.py
Normal file
10
deb/opt/apps/deepin-wine-runner/RunCommandWithTerminal.py
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
from Model import *
|
||||
if len(sys.argv) < 2:
|
||||
print("请加入需要的命令")
|
||||
sys.exit(1)
|
||||
o = ""
|
||||
for i in sys.argv[1:]:
|
||||
o += f"'{i}' "
|
||||
OpenTerminal(o)
|
||||
Reference in New Issue
Block a user