v0.87.1: one app icon (lint.jpg, wave's corner radius) on desktop and andTunes 0.4.2; quitting no longer segfaults
The swap-a-PNG icon is gone: scripts/make_icons.py renders packaging/lint.jpg into packaging/lintunes.png and the andTunes launcher. Quitting ends with os._exit once aboutToQuit has saved everything — Python's teardown of the QApplication wrapper segfaulted on every quit.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Install the lintunes .desktop entry and icon for the current user, so GNOME
|
||||
# shows a proper icon and the app can be pinned to the dash.
|
||||
# Re-run after swapping packaging/lintunes.png to update the icon.
|
||||
set -euo pipefail
|
||||
|
||||
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
APPS_DIR="$HOME/.local/share/applications"
|
||||
ICON_DIR="$HOME/.local/share/icons/hicolor/256x256/apps"
|
||||
ICON_DIR="$HOME/.local/share/icons/hicolor/512x512/apps"
|
||||
|
||||
mkdir -p "$APPS_DIR" "$ICON_DIR"
|
||||
cp "$HERE/lintunes.png" "$ICON_DIR/lintunes.png"
|
||||
# The icon used to install at 256x256; an old copy there would shadow this one.
|
||||
rm -f "$HOME/.local/share/icons/hicolor/256x256/apps/lintunes.png"
|
||||
|
||||
# If lintunes isn't on PATH, point Exec at this checkout's module instead.
|
||||
# We must NOT rely on the working directory: GNOME's dash launches apps via a
|
||||
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 812 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 338 KiB |
Reference in New Issue
Block a user