[visual-studio-code-bin] Add wrapper for custom flags

This allows per-user configuration for native Wayland support.
This commit is contained in:
n0k0m3 authored and D. Can Celasun committed 2022-02-03 15:43:50 +00:00
1 parent 832576b3e8
commit a059583646
6 files changed
+51 -12

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
# 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/code-flags.conf"
}
post_upgrade() {
post_install
}