Add itgui.desktop to goreleaser and fix itgui permissions

This commit is contained in:
Arsen Musayelyan 2022-11-24 16:20:11 -08:00
parent 5e24e8aafa
commit ceff536e92
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,7 @@ archives:
- README.md
- itd.toml
- itd.service
- itgui.desktop
- itgui-linux-{{.Arch}}{{if eq .Arch "arm"}}-7{{end}}
nfpms:
- id: itd
@ -71,8 +72,12 @@ nfpms:
type: "config|noreplace"
- src: itd.service
dst: /usr/lib/systemd/user/itd.service
- src: itgui.desktop
dst: /usr/share/applications/itgui.desktop
- src: itgui-linux-{{.Arch}}{{if eq .Arch "arm"}}-7{{end}}
dst: /usr/bin/itgui
file_info:
mode: 0755
aurs:
- name: itd-bin
homepage: 'https://gitea.arsenm.dev/Arsen6331/itd'