Skip to content

Commit

Permalink
fix: chmod 755 /u/sh/di/Discord
Browse files Browse the repository at this point in the history
  • Loading branch information
b- committed Oct 16, 2023
1 parent 4357dac commit deb9446
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/more.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ wget 'https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage'
curl -L 'https://discord.com/api/download?platform=linux&format=tar.gz' | tar -xzvC /usr/lib
cp /usr/lib/Discord/discord.desktop /usr/share/applications/
mkdir /usr/share/discord
cat > /usr/share/discord/Discord <<EOF
cat > /usr/share/discord/Discord <<'EOF'
#!/bin/bash
exec /usr/lib/Discord/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --enable-features=WaylandWindowDecorations "${@}"
EOF
EOF
chmod 755 /usr/share/discord/Discord

0 comments on commit deb9446

Please sign in to comment.