blob: c9f85b2a9ab9180c7c7c3b0fb29ddce4158f76d3 (
plain)
1
2
3
4
5
6
7
8
9
|
post_install() {
echo "Installing AppImageLauncher as interpreter for AppImages"
(set -x; update-binfmts --package appimage --install appimage-type2 /usr/bin/AppImageLauncher --magic 'AI\x02' --offset 8)
}
pre_remove() {
echo "Removing AppImageLauncher as interpreter for AppImages"
(set -x; update-binfmts --package appimage --remove appimage-type2 /usr/bin/AppImageLauncher)
}
|