Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AppleScript for Chrome Canary with WebGPU
if application "Google Chrome Canary" is running then
tell application "Google Chrome Canary" to quit
delay 1
end if
do shell script "/Applications/Google\\ Chrome\\ Canary.app/Contents/MacOS/Google\\ Chrome\\ Canary --enable-unsafe-webgpu --enable-dawn-features=use_tint_generator --new-window \"http://austin-eng.com/webgpu-samples/samples/helloTriangle\" --user-data-dir=/Users/$USER/Library/Application\\ Support/Google/ChromeCanaryTestUnsecure > /dev/null 2>&1 &"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment