diff --git a/.github/workflows/test_startup.yml b/.github/workflows/test_startup.yml index 437a094..07f4f59 100644 --- a/.github/workflows/test_startup.yml +++ b/.github/workflows/test_startup.yml @@ -37,12 +37,11 @@ jobs: tar xf discord.tar.gz cp app.asar DiscordCanary/resources/app.asar - - name: Check if Discord will startup + - name: Setup running deps run: | sudo apt-get update - sudo apt-get install xorg - echo "allowed_users=anybody" > /etc/X11/Xwrapper.config - startx - xhost local: - DISPLAY=:0 ./DiscordCanary/DiscordCanary --enable-logging + sudo apt install xvfb + - name: Check if Discord will startup + run: | + xvfb-run ./DiscordCanary/DiscordCanary --enable-logging # node scripts/testStartup.js ./DiscordCanary/DiscordCanary \ No newline at end of file