4 Commits

Author SHA1 Message Date
agresdominik 375c6cd45d bump: version 0.1.0 → 0.2.0 2026-06-05 23:07:12 +02:00
agresdominik 42b76f9ef7 feat: add custom ram download range 2026-06-05 23:06:54 +02:00
agresdominik 5a8154ce11 chore: finish commitizen config 2026-06-05 23:03:16 +02:00
agresdominik b2c981f760 chore: add commitizen config 2026-06-05 23:02:41 +02:00
3 changed files with 23 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
[ tool.commitizen ]
name = "cz_conventional_commits"
version = "0.2.0"
tag_format = "v$version"
update_changelog_on_bump = true
version_files = [ ".cz.toml:version" ]
+7
View File
@@ -0,0 +1,7 @@
## v0.2.0 (2026-06-05)
### Feat
- add custom ram download range
## v0.0.1 (2026-06-05)
+10 -1
View File
@@ -125,10 +125,11 @@ echo "Please select how much RAM you want to download:"
echo "1) 4GiB of RAM"
echo "2) 8GiB of RAM"
echo "3) 16GiB of RAM"
echo "4) Custom amount"
echo "Plese note you need at least the chosen amount of space on your drive + 4GiB"
echo ""
read -r -p "Enter your choice (1-3): " choice
read -r -p "Enter your choice (1-4): " choice
case "$choice" in
1)
@@ -140,6 +141,14 @@ case "$choice" in
3)
value=16
;;
4)
read -r -p "Enter a custom amount in GiB (1-16): " custom
if [[ ! "$custom" =~ ^[0-9]+$ ]] || (( custom < 1 || custom > 16 )); then
echo "Invalid amount. Please enter a whole number between 1 and 16."
exit 1
fi
value=$custom
;;
*)
echo "Invalid choice."
exit 1