aboutsummarylogtreecommitdiffstats
path: root/granola-wine.install
blob: bf9e738d1aa78955c4fd246d18c82a39bd02a828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
  update-desktop-database -q /usr/share/applications 2>/dev/null || true
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor 2>/dev/null || true

  cat <<'EOF'
Granola for Wine installed.

First run:
  granola

The first launcher run creates the Wine prefix, copies the app payload, and
registers the per-user granola:// URL handler where xdg-utils supports it.
In-app Windows updates are disabled; update this package through AUR.

Runtime state is kept under:
  ~/.wine-prefixes/granola
  ~/.local/share/granola-wine/granola.log
EOF
}

post_upgrade() {
  post_install
}

post_remove() {
  update-desktop-database -q /usr/share/applications 2>/dev/null || true
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor 2>/dev/null || true
}