forked from CastroFidel/PortWINE
		
	Added ability to restrict CPU cores
This commit is contained in:
		| @@ -663,6 +663,10 @@ unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_D | ||||
|  | ||||
| export portname=PortProton | ||||
|  | ||||
| logical_cores=$(grep -c "^processor" /proc/cpuinfo) | ||||
| half_cores=$((logical_cores / 2)) | ||||
| export half_cores | ||||
|  | ||||
| cd "$(dirname "`readlink -f "$0"`")" && export PORT_SCRIPTS_PATH="$(pwd)" | ||||
| cd "${PORT_SCRIPTS_PATH}/../../" && export PORT_WINE_PATH="$(pwd)" | ||||
| export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user