Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions spotify-bin
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ elif [ "${SCALE_FACTOR}" != "1.0" ]; then
EXTRA_FLAGS+=("--force-device-scale-factor=${SCALE_FACTOR}")
fi

# Disable the Zygote process to prevent it from randomly crashing.
# https://community.spotify.com/t5/Desktop-Linux/Spotify-binary-frequently-crashing-and-dumping-core-Ubuntu/td-p/6534369
EXTRA_FLAGS+=("--no-zygote")

env PULSE_PROP_application.icon_name="com.spotify.Client" LD_PRELOAD=/app/lib/spotify-preload.so${LD_PRELOAD:+:$LD_PRELOAD} /app/extra/bin/spotify "${EXTRA_FLAGS[@]}" "$@" &

if [ $URI_HANDLED -eq 1 ]; then
Expand Down