srevinsaju / zap

:zap: Delightful AppImage package manager
https://zap.srev.in
MIT License
506 stars 20 forks source link

zap init enabling auto updates bug #89

Closed fai-max closed 1 year ago

fai-max commented 2 years ago

zap init reveals a bunch of configurations that can be changed upon enabling auto updates, it throws the following error

? Do you want to enable auto-update? Yes
2022/10/06 20:58:15 Probably not launched by systemd (please file an issue if this is wrong)
2022/10/06 20:58:15 /etc/systemd/user/zapd.service does not exist
2022/10/06 20:58:15 Creating ~/.config/systemd/user/zapd.service
[INFO]  2022/10/06 20:58:15 Restarting via systemd...

and proceeds to not display the other settings.

The above problem occurs only when enabling it. Disabling it lets it take its normal course.

image

srevinsaju commented 1 year ago

Fixed by #97