diff options
author | Xuanwo | 2023-02-27 13:53:12 +0800 |
---|---|---|
committer | Xuanwo | 2023-02-27 13:53:12 +0800 |
commit | 10a61a07a82b5fd248864bf96d75c33908333b2e (patch) | |
tree | 86abe913879eadcbbb343a41694fc4ac4400ea48 /logseq-desktop.install | |
parent | e1314703095cfe5cb2d901209ee1a181ef837ffc (diff) | |
download | aur-10a61a07a82b5fd248864bf96d75c33908333b2e.tar.gz |
Read config from flags
Signed-off-by: Xuanwo <github@xuanwo.io>
Diffstat (limited to 'logseq-desktop.install')
-rw-r--r-- | logseq-desktop.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/logseq-desktop.install b/logseq-desktop.install new file mode 100644 index 000000000000..906e9d0635a3 --- /dev/null +++ b/logseq-desktop.install @@ -0,0 +1,22 @@ +# Colored makepkg-like functions +msg_blue() { + printf "${blue}==>${bold} $1${all_off}\n" +} + +note() { + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} + +all_off="$(tput sgr0)" +bold="${all_off}$(tput bold)" +blue="${bold}$(tput setaf 4)" +yellow="${bold}$(tput setaf 3)" + +post_install() { + note "Custom flags should be put directly in: ~/.config/logseq-flags.conf" + note "The launcher is called: 'logseq'" +} + +post_upgrade() { + post_install +} |