mirror of
https://github.com/puzzle/lightning-beer-tap.git
synced 2025-12-17 07:04:21 +01:00
Allow page to be zoomed in chromium-browser
This commit is contained in:
@@ -18,6 +18,7 @@ MEMO_PREFIX="beerTap"
|
|||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# most likely you don't need to change anything here
|
# most likely you don't need to change anything here
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
|
CHROME_ZOOM="1.0"
|
||||||
BRIDGE_JAVA_OPTS="-Xms128M -Xmx128M -jar"
|
BRIDGE_JAVA_OPTS="-Xms128M -Xmx128M -jar"
|
||||||
BRIDGE_JARFILE="websocket-bridge-0.0.1-SNAPSHOT.jar"
|
BRIDGE_JARFILE="websocket-bridge-0.0.1-SNAPSHOT.jar"
|
||||||
BRIDGE_JARPATH="websocket_bridge/build/libs/"
|
BRIDGE_JARPATH="websocket_bridge/build/libs/"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
|||||||
source $DIR/../configuration.sh
|
source $DIR/../configuration.sh
|
||||||
|
|
||||||
# Arguments
|
# Arguments
|
||||||
KIOSK_ARGS="--kiosk --disable-translate --incognito --app=${FRONTEND_URL}"
|
KIOSK_ARGS="--kiosk --disable-translate --incognito --app=${FRONTEND_URL} --force-device-scale-factor=${CHROME_ZOOM}"
|
||||||
|
|
||||||
# Don't sleep, don't blank, waste energy!
|
# Don't sleep, don't blank, waste energy!
|
||||||
DISPLAY=:0 xset s off
|
DISPLAY=:0 xset s off
|
||||||
|
|||||||
Reference in New Issue
Block a user