reverted back to subprocess.run and bumped up version
This commit is contained in:
@@ -43,12 +43,6 @@
|
|||||||
<url type="vcs-browser">https://gitea.farmdash.org/angoosh/Flatpaks/src/branch/main/com.angoosh.RDPConnect</url>
|
<url type="vcs-browser">https://gitea.farmdash.org/angoosh/Flatpaks/src/branch/main/com.angoosh.RDPConnect</url>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
<release version="1.0.1" date="2024-11-20">
|
|
||||||
<url type="details">https://gitea.farmdash.org/angoosh/Flatpaks/commits/branch/main</url>
|
|
||||||
<description>
|
|
||||||
<p>Changed directory permissions from home to xdg-config</p>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
<release version="1.0.2" date="2024-11-20">
|
<release version="1.0.2" date="2024-11-20">
|
||||||
<url type="details">https://gitea.farmdash.org/angoosh/Flatpaks/commit/85ea660c7e11d0c65c8aef23fcf76853882975cf</url>
|
<url type="details">https://gitea.farmdash.org/angoosh/Flatpaks/commit/85ea660c7e11d0c65c8aef23fcf76853882975cf</url>
|
||||||
<description>
|
<description>
|
||||||
@@ -67,6 +61,12 @@
|
|||||||
<p>Created about section, borgar menu, settings menu and we have easy settings for the rdp connection now</p>
|
<p>Created about section, borgar menu, settings menu and we have easy settings for the rdp connection now</p>
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
|
<release version="1.2.0" date="2025-02-19">
|
||||||
|
<url type="details">https://gitea.farmdash.org/angoosh/Flatpaks/src/tag/1.2.0</url>
|
||||||
|
<description>
|
||||||
|
<p>Updated to newest FreeRDP which seems to fix issues with hanging / freezing</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
</releases>
|
</releases>
|
||||||
|
|
||||||
<screenshots>
|
<screenshots>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ from gi.repository import Gtk, Adw, Gdk, Gio
|
|||||||
APPID = "com.angoosh.RDPConnect"
|
APPID = "com.angoosh.RDPConnect"
|
||||||
HOMEDIR = os.path.expanduser('~')
|
HOMEDIR = os.path.expanduser('~')
|
||||||
|
|
||||||
VERSION = "1.1.0"
|
VERSION = "1.2.0"
|
||||||
|
|
||||||
conn_info = {}
|
conn_info = {}
|
||||||
settings = {}
|
settings = {}
|
||||||
@@ -307,10 +307,10 @@ class MyApp(Adw.Application):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print("Running", settings["rdp_bin"])
|
print("Running", settings["rdp_bin"])
|
||||||
subprocess.call([settings["rdp_bin"], "/cert:ignore", "/v:"+str(conn_info["ip"]), "/u:"+str(conn_info["user"]), "/p:"+str(conn_info["passwd"])]+extra_params)
|
subprocess.run([settings["rdp_bin"], "/cert:ignore", "/v:"+str(conn_info["ip"]), "/u:"+str(conn_info["user"]), "/p:"+str(conn_info["passwd"])]+extra_params)
|
||||||
except:
|
except:
|
||||||
print("Running sdl-freerdp")
|
print("Running sdl-freerdp")
|
||||||
subprocess.call(["sdl-freerdp", "/cert:ignore", "/v:"+str(conn_info["ip"]), "/u:"+str(conn_info["user"]), "/p:"+str(conn_info["passwd"])]+extra_params)
|
subprocess.run(["sdl-freerdp", "/cert:ignore", "/v:"+str(conn_info["ip"]), "/u:"+str(conn_info["user"]), "/p:"+str(conn_info["passwd"])]+extra_params)
|
||||||
|
|
||||||
if not os.path.isdir(HOMEDIR+"/.config/rdpconnect"):
|
if not os.path.isdir(HOMEDIR+"/.config/rdpconnect"):
|
||||||
os.makedirs(HOMEDIR+"/.config/rdpconnect")
|
os.makedirs(HOMEDIR+"/.config/rdpconnect")
|
||||||
|
|||||||
Reference in New Issue
Block a user