cli MVP
This commit is contained in:
parent
367c19386c
commit
1ea50c50bc
62 changed files with 9982 additions and 608 deletions
21
packaging/arch/nostro-system.install
Normal file
21
packaging/arch/nostro-system.install
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
# SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
post_install() {
|
||||
echo "nostrod and the nostro CLI come from a Flatpak; install it system-wide:"
|
||||
echo " flatpak install --system net.catcrafts.Nostro.flatpakref"
|
||||
echo "(packaging/flatpak/ in nostro's source), or from a local build: flatpak install --system <repo> net.catcrafts.Nostro"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
# A nostrod still running keeps the old files until it ends.
|
||||
systemctl try-restart nostrod.service
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
systemctl stop nostrod.service
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo "The bank connections stay in /var/lib/nostro; remove that directory to forget them, and revoke the API keys in the bank's app."
|
||||
}
|
||||
Loading…
Reference in a new issue