mirror of
https://github.com/winapps-org/winapps.git
synced 2025-09-15 05:59:31 +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.
|
||||
# DEFAULT VALUE: '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]
|
||||
|
@@ -53,6 +53,7 @@ AUTOPAUSE="off"
|
||||
AUTOPAUSE_TIME="300"
|
||||
DEBUG="true"
|
||||
BOOT_TIMEOUT=120
|
||||
HIDEF="on"
|
||||
|
||||
# OTHER
|
||||
FREERDP_PID=-1
|
||||
@@ -625,7 +626,7 @@ function waRunCommand() {
|
||||
/p:"$RDP_PASS" \
|
||||
/scale:"$RDP_SCALE" \
|
||||
+auto-reconnect \
|
||||
/app:program:"$2" \
|
||||
/app:program:"$2",hidef:"$HIDEF" \
|
||||
/v:"$RDP_IP" &>/dev/null &
|
||||
|
||||
# Capture the process ID.
|
||||
@@ -658,7 +659,7 @@ function waRunCommand() {
|
||||
/scale:"$RDP_SCALE" \
|
||||
+auto-reconnect \
|
||||
/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 &
|
||||
|
||||
# Capture the process ID.
|
||||
@@ -680,7 +681,7 @@ function waRunCommand() {
|
||||
+auto-reconnect \
|
||||
/drive:media,"$REMOVABLE_MEDIA" \
|
||||
/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 &
|
||||
|
||||
# Capture the process ID.
|
||||
|
Reference in New Issue
Block a user