From 917804101132a1e1b7eb41ac9d9d0def0a579ba0 Mon Sep 17 00:00:00 2001
From: Slava <20563034+veaceslavdoina@users.noreply.github.com>
Date: Mon, 18 Nov 2024 16:19:14 +0200
Subject: [PATCH] Update installation scripts (#21)
* Rename variable INSTALL_CIRDL to CIRDL
* Add BASE_URL variable for local download
---
README.md | 8 +++----
index.html | 8 +++----
install.cmd | 67 ++++++++++++++++++++++++++++++++++++++++-------------
install.sh | 65 +++++++++++++++++++++++++++------------------------
4 files changed, 94 insertions(+), 54 deletions(-)
diff --git a/README.md b/README.md
index e4aed03..aa89cd3 100644
--- a/README.md
+++ b/README.md
@@ -14,12 +14,12 @@ curl -s https://get.codex.storage/install.sh | VERSION=0.1.7 bash
```shell
# latest codex and cirdl
-curl -s https://get.codex.storage/install.sh | INSTALL_CIRDL=true bash
+curl -s https://get.codex.storage/install.sh | CIRDL=true bash
```
```shell
# codex and cirdl with required libraries on Windows with msys2
-curl -s https://get.codex.storage/install.sh | INSTALL_CIRDL=true WINDOWS_LIBS=true bash
+curl -s https://get.codex.storage/install.sh | CIRDL=true WINDOWS_LIBS=true bash
```
```shell
@@ -41,12 +41,12 @@ curl -sO https://get.codex.storage/install.cmd && set VERSION=0.1.7 & install.cm
```batch
:: latest codex and cirdl
-curl -sO https://get.codex.storage/install.cmd && set INSTALL_CIRDL=true & install.cmd
+curl -sO https://get.codex.storage/install.cmd && set CIRDL=true & install.cmd
```
```batch
:: codex and cirdl without libraries
-curl -sO https://get.codex.storage/install.cmd && set INSTALL_CIRDL=true & set WINDOWS_LIBS=true & install.cmd
+curl -sO https://get.codex.storage/install.cmd && set CIRDL=true & set WINDOWS_LIBS=true & install.cmd
```
```batch
diff --git a/index.html b/index.html
index a504ea9..1ad248a 100644
--- a/index.html
+++ b/index.html
@@ -38,7 +38,7 @@
# latest codex and cirdl
- curl -s https://get.codex.storage/install.sh | INSTALL_CIRDL=true bash
+ curl -s https://get.codex.storage/install.sh | CIRDL=true bash
@@ -46,7 +46,7 @@
# codex and cirdl with required libraries on Windows with msys2
- curl -s https://get.codex.storage/install.sh | INSTALL_CIRDL=true WINDOWS_LIBS=true bash
+ curl -s https://get.codex.storage/install.sh | CIRDL=true WINDOWS_LIBS=true bash
@@ -84,7 +84,7 @@
:: codex and cirdl without libraries
- curl -sO https://get.codex.storage/install.cmd && set INSTALL_CIRDL=true & set WINDOWS_LIBS=false & install.cmd
+ curl -sO https://get.codex.storage/install.cmd && set CIRDL=true & set WINDOWS_LIBS=false & install.cmd