Commit 8728477c authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Make default resolution consistently fullHD

parent 0951295f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@ param(
    [string] $path,
    [string] $seed,
    [string] $hash,
    [int] $width = 7016,
    [int] $height = 4960,
    [int] $width = 1920,
    [int] $height = 1080,
    [switch] $debug = $false)

$inputCount = 0;
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ D)
Usage: run.sh <-p PATH | -s SEED | -f SHA256 FINGERPRINT>

Options
-W  set width [7016]
-H  set height [4960]
-W  set width [1920]
-H  set height [1080]
-D  run in debug mode
-h show help
EOF
+2 −2
Original line number Diff line number Diff line
@@ -18,8 +18,8 @@ hashsquash() {
}

hashinit() {
    export WIDTH=${WIDTH:-3840}
    export HEIGHT=${HEIGHT:-2160}
    export WIDTH=${WIDTH:-1920}
    export HEIGHT=${HEIGHT:-1080}
    export DISPLAY=:42
    Xvfb $DISPLAY -screen -0 800x600x16 &
    XVFB_PID=$!