mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-02 05:07:19 +02:00
Updated configuration file template and git clone command in README + Added checks for new Windows backend introduced in #204
This commit is contained in:
parent
f7d1cb77ed
commit
45584c8200
@ -277,7 +277,7 @@ If you already have a Windows VM or server you wish to use with WinApps, you wil
|
|||||||
### Step 2: Clone WinApps Repository and Dependencies
|
### Step 2: Clone WinApps Repository and Dependencies
|
||||||
1. Clone the WinApps GitHub repository.
|
1. Clone the WinApps GitHub repository.
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/winapps-org/winapps.git && cd winapps
|
git clone --recurse-submodules --remote-submodules https://github.com/winapps-org/winapps.git && cd winapps
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the required dependencies.
|
2. Install the required dependencies.
|
||||||
@ -387,7 +387,7 @@ DEBUG="true"
|
|||||||
|
|
||||||
# [AUTOMATICALLY PAUSE WINDOWS]
|
# [AUTOMATICALLY PAUSE WINDOWS]
|
||||||
# NOTES:
|
# NOTES:
|
||||||
# - This is currently INCOMPATIBLE with 'docker'.
|
# - This is currently INCOMPATIBLE with 'docker' and 'manual'.
|
||||||
# - See https://github.com/dockur/windows/issues/674
|
# - See https://github.com/dockur/windows/issues/674
|
||||||
# DEFAULT VALUE: 'off'
|
# DEFAULT VALUE: 'off'
|
||||||
# VALID VALUES:
|
# VALID VALUES:
|
||||||
|
@ -626,6 +626,8 @@ function waCheckIdle() {
|
|||||||
local TIME_ELAPSED=0
|
local TIME_ELAPSED=0
|
||||||
local SUSPEND_WINDOWS=0
|
local SUSPEND_WINDOWS=0
|
||||||
|
|
||||||
|
# Prevent 'autopause' functionality with unsupported Windows backends.
|
||||||
|
if [ "$WAFLAVOR" != "manual" ] && [ "$WAFLAVOR" != "docker" ]; then
|
||||||
# Check if there are no WinApps-related FreeRDP processes running.
|
# Check if there are no WinApps-related FreeRDP processes running.
|
||||||
if ! ls "$APPDATA_PATH"/FreeRDP_Process_*.cproc &>/dev/null; then
|
if ! ls "$APPDATA_PATH"/FreeRDP_Process_*.cproc &>/dev/null; then
|
||||||
SUSPEND_WINDOWS=1
|
SUSPEND_WINDOWS=1
|
||||||
@ -651,6 +653,7 @@ function waCheckIdle() {
|
|||||||
virsh suspend "$VM_NAME" &>/dev/null
|
virsh suspend "$VM_NAME" &>/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
### MAIN LOGIC ###
|
### MAIN LOGIC ###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user