#!/bin/bash # Launch the studio UI in a clean Chrome profile (no stale cache) TMPDIR=$(mktemp -d /tmp/chrome-studio-XXXXXX) trap "rm -rf '$TMPDIR'" EXIT DRI_PRIME=pci-0000_02_00_0 \ google-chrome \ --disable-web-security \ --allow-file-access-from-files \ --user-data-dir="$TMPDIR" \ --disable-dev-shm-usage \ --no-first-run \ --no-default-browser-check \ --disable-infobars \ --test-type \ --ozone-platform=x11 \ --disable-vulkan \ --use-gl=desktop \ --log-level=3 \ --silent-debugger-extension-api \ --app="file:///mnt/zim/tour-comfy/output/car.html" \ 2>/dev/null