X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=run%2Fdcpomatic;h=8ce6d060a2c23bc0ee3608ed44d20aff97670f28;hp=7e8f923a37194099f05c9a630d4f5be0a0f3ff74;hb=2f2df8e53124bee8bc8312f37bc8608dc46085d6;hpb=95fc64295a860814ddee477c46e2028ea1a1f15c diff --git a/run/dcpomatic b/run/dcpomatic index 7e8f923a3..8ce6d060a 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -27,6 +27,9 @@ elif [ "$1" == "--perf" ]; then elif [ "$1" == "--scaled" ]; then shift ~/src/run_scaled/run_scaled --sleep=5 --scale=0.5 $binary $* +elif [ "$1" == "--screenshot" ]; then + shift + GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot $binary "$*" else $binary $* fi