From c3e0c1e976b99b4819c0716ac8dbb36660302be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Mon, 11 Nov 2024 16:08:56 +0300 Subject: [PATCH] vial postinstall --- vial/alr.sh | 6 +++++- vial/postinstall.sh | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 vial/postinstall.sh diff --git a/vial/alr.sh b/vial/alr.sh index 8e95640..21c6c46 100644 --- a/vial/alr.sh +++ b/vial/alr.sh @@ -1,6 +1,6 @@ name='vial' version='0.7.1' -release='4' +release='5' desc='Vial is an open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time, similar to VIA.' homepage='https://get.vial.today/' maintainer="Евгений Храмов " @@ -14,6 +14,10 @@ deps=('fuse') sources=("https://github.com/vial-kb/vial-gui/releases/download/v${version}/Vial-v${version}-x86_64.AppImage?~archive=false") checksums=('SKIP') +scripts=( + ['postinstall']='postinstall.sh' +) + prepare() { chmod +x Vial-v${version}-x86_64.AppImage ./Vial-v${version}-x86_64.AppImage --appimage-extract diff --git a/vial/postinstall.sh b/vial/postinstall.sh new file mode 100644 index 0000000..de717d2 --- /dev/null +++ b/vial/postinstall.sh @@ -0,0 +1,2 @@ +#!/bin/env bash +udevadm control --reload-rules \ No newline at end of file