mirror of
https://github.com/winapps-org/winapps.git
synced 2025-09-15 22:19:30 +02:00
Merge branch 'main' of https://github.com/winapps-org/winapps
This commit is contained in:
@@ -518,6 +518,9 @@ HIDEF="on"
|
|||||||
```bash
|
```bash
|
||||||
xfreerdp3 /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu
|
xfreerdp3 /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu
|
||||||
|
|
||||||
|
# Or, if you are using Podman
|
||||||
|
podman unshare --rootless-netns xfreerdp3 /u:"Your Windows Username" /p:"Your Windows Password" /v:127.0.0.1 /cert:tofu
|
||||||
|
|
||||||
# Or, if you installed FreeRDP using Flatpak
|
# Or, if you installed FreeRDP using Flatpak
|
||||||
flatpak run --command=xfreerdp com.freerdp.FreeRDP /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu
|
flatpak run --command=xfreerdp com.freerdp.FreeRDP /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu
|
||||||
```
|
```
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="2048" height="2048">
|
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="2048" height="2048">
|
||||||
<title>POO</title>
|
<title>Windows</title>
|
||||||
<defs>
|
<defs>
|
||||||
<linearGradient id="g1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2048,-2048,2048,-2048,2048,2048)">
|
<linearGradient id="g1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2048,-2048,2048,-2048,2048,2048)">
|
||||||
<stop offset="0" stop-color="#067cd6"/>
|
<stop offset="0" stop-color="#067cd6"/>
|
||||||
|
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 723 B |
4
setup.sh
4
setup.sh
@@ -116,7 +116,7 @@ trap "waTerminateScript" ERR # Catch non-zero return values.
|
|||||||
### FUNCTIONS ###
|
### FUNCTIONS ###
|
||||||
# Name: 'waTerminateScript'
|
# Name: 'waTerminateScript'
|
||||||
# Role: Terminates the script when a non-zero return value is encountered.
|
# Role: Terminates the script when a non-zero return value is encountered.
|
||||||
# shellcheck disable=SC2317 # Silence warning regarding this function being unreachable.
|
# shellcheck disable=SC2329 # Silence warning regarding this function never being invoked (shellCheck is currently bad at figuring out functions that are invoked via trap).
|
||||||
function waTerminateScript() {
|
function waTerminateScript() {
|
||||||
# Store the non-zero exit status received by the trap.
|
# Store the non-zero exit status received by the trap.
|
||||||
local EXIT_STATUS=$?
|
local EXIT_STATUS=$?
|
||||||
@@ -1043,6 +1043,7 @@ function waCheckRDPAccess() {
|
|||||||
/p:"$RDP_PASS" \
|
/p:"$RDP_PASS" \
|
||||||
/scale:"$RDP_SCALE" \
|
/scale:"$RDP_SCALE" \
|
||||||
+auto-reconnect \
|
+auto-reconnect \
|
||||||
|
+home-drive \
|
||||||
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C type NUL > $TEST_PATH_WIN && tsdiscon" \
|
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C type NUL > $TEST_PATH_WIN && tsdiscon" \
|
||||||
/v:"$RDP_IP" &>"$FREERDP_LOG" &
|
/v:"$RDP_IP" &>"$FREERDP_LOG" &
|
||||||
|
|
||||||
@@ -1174,6 +1175,7 @@ function waFindInstalled() {
|
|||||||
/p:"$RDP_PASS" \
|
/p:"$RDP_PASS" \
|
||||||
/scale:"$RDP_SCALE" \
|
/scale:"$RDP_SCALE" \
|
||||||
+auto-reconnect \
|
+auto-reconnect \
|
||||||
|
+home-drive \
|
||||||
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C "$BATCH_SCRIPT_PATH_WIN"" \
|
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C "$BATCH_SCRIPT_PATH_WIN"" \
|
||||||
/v:"$RDP_IP" &>"$FREERDP_LOG" &
|
/v:"$RDP_IP" &>"$FREERDP_LOG" &
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user