mirror of
				https://github.com/winapps-org/winapps.git
				synced 2025-11-04 05:14:03 +01:00 
			
		
		
		
	Added manual mode
This commit is contained in:
		@@ -174,6 +174,13 @@ Adding applications to the installer is easy. Simply copy one of the application
 | 
			
		||||
 | 
			
		||||
When running the installer, it will check for if any configured apps are installed, and if they are it will create the appropriate shortcuts on the host OS.
 | 
			
		||||
 | 
			
		||||
## Running applications manually
 | 
			
		||||
WinApps offers a manual mode for running applications that are not configured. This is completed with the `manual` flag. Executables that are in the path do not require full path definition.
 | 
			
		||||
``` bash
 | 
			
		||||
./bin/winapps manual "C:\my\directory\executableNotInPath.exe"
 | 
			
		||||
./bin/winapps manual executableInPath.exe
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Checking for new application support
 | 
			
		||||
The installer can be run multiple times, so simply run:
 | 
			
		||||
``` bash
 | 
			
		||||
 
 | 
			
		||||
@@ -74,6 +74,9 @@ fi
 | 
			
		||||
 | 
			
		||||
if [ "${1}" = "windows" ]; then
 | 
			
		||||
	xfreerdp /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} /scale:${RDP_SCALE} /dynamic-resolution +auto-reconnect +home-drive /wm-class:"Microsoft Windows" 1> /dev/null 2>&1 &
 | 
			
		||||
elif [ "${1}" = "manual" ]; then
 | 
			
		||||
	dprint "MANUAL:${2}"
 | 
			
		||||
	xfreerdp /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /app:"${2}" 1> /dev/null 2>&1 &
 | 
			
		||||
elif [ "${1}" != "install" ]; then
 | 
			
		||||
	dprint "DIR:${DIR}"
 | 
			
		||||
	. "${DIR}/../apps/${1}/info"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user