mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2024-10-18 05:20:38 -04:00
feat: Attach version meta-data inside cursor packages
This commit is contained in:
parent
b420533bc3
commit
04ca866c31
2 changed files with 24 additions and 13 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [unreleased]
|
||||
|
||||
### What's New?
|
||||
|
||||
- Attach version meta-data inside cursor packages
|
||||
|
||||
## [v2.0.6] - 25 January 2024
|
||||
|
||||
### What's New?
|
||||
|
|
33
build.sh
33
build.sh
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
# A script for preparing binaries of Bibata Cursors, by Abdulkaiz Khatri
|
||||
# A script for preparing binaries of Bibata Cursors, created by Abdulkaiz Khatri.
|
||||
|
||||
version="v2.0.6"
|
||||
|
||||
error() (
|
||||
set -o pipefail
|
||||
|
@ -17,24 +19,29 @@ get_config_file() {
|
|||
echo $cfg_file
|
||||
}
|
||||
|
||||
with_version() {
|
||||
local comment="${1}"
|
||||
echo "$comment ($version)."
|
||||
}
|
||||
|
||||
if ! type -p ctgen >/dev/null; then
|
||||
error ctgen
|
||||
exit 127 # exit program with "command not found" error code
|
||||
fi
|
||||
|
||||
declare -A names
|
||||
names["Bibata-Modern-Amber"]="Yellowish and rounded edge Bibata cursors."
|
||||
names["Bibata-Modern-Amber-Right"]="Yellowish and rounded edge right-hand Bibata cursors."
|
||||
names["Bibata-Modern-Classic"]="Black and rounded edge Bibata cursors."
|
||||
names["Bibata-Modern-Classic-Right"]="Black and rounded edge right-hand Bibata cursors."
|
||||
names["Bibata-Modern-Ice"]="White and rounded edge Bibata cursors."
|
||||
names["Bibata-Modern-Ice-Right"]="White and rounded edge right-hand Bibata cursors."
|
||||
names["Bibata-Original-Amber"]="Yellowish and sharp edge Bibata cursors."
|
||||
names["Bibata-Original-Amber-Right"]="Yellowish and sharp edge right-hand Bibata cursors."
|
||||
names["Bibata-Original-Classic"]="Black and sharp edge Bibata cursors."
|
||||
names["Bibata-Original-Classic-Right"]="Black and sharp edge right-hand Bibata cursors."
|
||||
names["Bibata-Original-Ice"]="White and sharp edge Bibata cursors."
|
||||
names["Bibata-Original-Ice-Right"]="White and sharp edge right-hand Bibata cursors."
|
||||
names["Bibata-Modern-Amber"]=$(with_version "Yellowish and rounded edge Bibata cursors")
|
||||
names["Bibata-Modern-Amber-Right"]=$(with_version "Yellowish and rounded edge right-hand Bibata cursors")
|
||||
names["Bibata-Modern-Classic"]=$(with_version "Black and rounded edge Bibata cursors")
|
||||
names["Bibata-Modern-Classic-Right"]=$(with_version "Black and rounded edge right-hand Bibata cursors")
|
||||
names["Bibata-Modern-Ice"]=$(with_version "White and rounded edge Bibata cursors")
|
||||
names["Bibata-Modern-Ice-Right"]=$(with_version "White and rounded edge right-hand Bibata cursors")
|
||||
names["Bibata-Original-Amber"]=$(with_version "Yellowish and sharp edge Bibata cursors")
|
||||
names["Bibata-Original-Amber-Right"]=$(with_version "Yellowish and sharp edge right-hand Bibata cursors")
|
||||
names["Bibata-Original-Classic"]=$(with_version "Black and sharp edge Bibata cursors")
|
||||
names["Bibata-Original-Classic-Right"]=$(with_version "Black and sharp edge right-hand Bibata cursors")
|
||||
names["Bibata-Original-Ice"]=$(with_version "White and sharp edge Bibata cursors")
|
||||
names["Bibata-Original-Ice-Right"]=$(with_version "White and sharp edge right-hand Bibata cursors")
|
||||
|
||||
# Cleanup old builds
|
||||
rm -rf themes bin
|
||||
|
|
Loading…
Reference in a new issue