mirror of
https://github.com/winapps-org/winapps.git
synced 2025-09-16 06:19:37 +02:00
Merge pull request #736 from lonkaars/main
Feature: add `hidef` option to config file
This commit is contained in:
@@ -480,6 +480,12 @@ APP_SCAN_TIMEOUT="60"
|
|||||||
# - The maximum time (in seconds) to wait for the Windows VM to boot if it is not running, before attempting to launch an application.
|
# - The maximum time (in seconds) to wait for the Windows VM to boot if it is not running, before attempting to launch an application.
|
||||||
# DEFAULT VALUE: '120'
|
# DEFAULT VALUE: '120'
|
||||||
BOOT_TIMEOUT="120"
|
BOOT_TIMEOUT="120"
|
||||||
|
|
||||||
|
# FREERDP RAIL HIDEF
|
||||||
|
# - This option controls the value of the `hidef` option passed to the /app parameter of the FreeRDP command.
|
||||||
|
# - Setting this option to 'off' may resolve window misalignment issues related to maximized windows.
|
||||||
|
# DEFAULT VALUE: 'on'
|
||||||
|
HIDEF="on"
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
|
@@ -53,6 +53,7 @@ AUTOPAUSE="off"
|
|||||||
AUTOPAUSE_TIME="300"
|
AUTOPAUSE_TIME="300"
|
||||||
DEBUG="true"
|
DEBUG="true"
|
||||||
BOOT_TIMEOUT=120
|
BOOT_TIMEOUT=120
|
||||||
|
HIDEF="on"
|
||||||
|
|
||||||
# OTHER
|
# OTHER
|
||||||
FREERDP_PID=-1
|
FREERDP_PID=-1
|
||||||
@@ -625,7 +626,7 @@ function waRunCommand() {
|
|||||||
/p:"$RDP_PASS" \
|
/p:"$RDP_PASS" \
|
||||||
/scale:"$RDP_SCALE" \
|
/scale:"$RDP_SCALE" \
|
||||||
+auto-reconnect \
|
+auto-reconnect \
|
||||||
/app:program:"$2" \
|
/app:program:"$2",hidef:"$HIDEF" \
|
||||||
/v:"$RDP_IP" &>/dev/null &
|
/v:"$RDP_IP" &>/dev/null &
|
||||||
|
|
||||||
# Capture the process ID.
|
# Capture the process ID.
|
||||||
@@ -658,7 +659,7 @@ function waRunCommand() {
|
|||||||
/scale:"$RDP_SCALE" \
|
/scale:"$RDP_SCALE" \
|
||||||
+auto-reconnect \
|
+auto-reconnect \
|
||||||
/wm-class:"$FULL_NAME" \
|
/wm-class:"$FULL_NAME" \
|
||||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$FULL_NAME" \
|
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$FULL_NAME",hidef:"$HIDEF" \
|
||||||
/v:"$RDP_IP" &>/dev/null &
|
/v:"$RDP_IP" &>/dev/null &
|
||||||
|
|
||||||
# Capture the process ID.
|
# Capture the process ID.
|
||||||
@@ -680,7 +681,7 @@ function waRunCommand() {
|
|||||||
+auto-reconnect \
|
+auto-reconnect \
|
||||||
/drive:media,"$REMOVABLE_MEDIA" \
|
/drive:media,"$REMOVABLE_MEDIA" \
|
||||||
/wm-class:"$FULL_NAME" \
|
/wm-class:"$FULL_NAME" \
|
||||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$FULL_NAME",cmd:\""$FILE_PATH"\" \
|
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$FULL_NAME",cmd:\""$FILE_PATH"\",hidef:"$HIDEF" \
|
||||||
/v:"$RDP_IP" &>/dev/null &
|
/v:"$RDP_IP" &>/dev/null &
|
||||||
|
|
||||||
# Capture the process ID.
|
# Capture the process ID.
|
||||||
|
Reference in New Issue
Block a user