Compare commits

...

5 Commits

Author SHA1 Message Date
smx 5969e0e263 fix last commit
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
Installer integration / Test installer on Ubuntu (push) Has been cancelled
Installer integration / Test installer on Alpine (push) Has been cancelled
Installer integration / Test installer on macOS (push) Has been cancelled
Script unit tests / Run script unit tests (push) Has been cancelled
Script unit tests / Lint shell files (push) Has been cancelled
2026-06-17 02:44:58 +03:30
smx bd71d0aded fix last commit
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
Installer integration / Test installer on Ubuntu (push) Has been cancelled
Installer integration / Test installer on Alpine (push) Has been cancelled
Installer integration / Test installer on macOS (push) Has been cancelled
Script unit tests / Run script unit tests (push) Has been cancelled
Script unit tests / Lint shell files (push) Has been cancelled
2026-06-17 01:58:37 +03:30
smx bd146f5ab2 replace url faz 2
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
Installer integration / Test installer on Ubuntu (push) Has been cancelled
Installer integration / Test installer on Alpine (push) Has been cancelled
Installer integration / Test installer on macOS (push) Has been cancelled
Script unit tests / Run script unit tests (push) Has been cancelled
Script unit tests / Lint shell files (push) Has been cancelled
2026-06-16 11:26:02 +00:00
smx 25cdc7b6b6 replace IA url
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
2026-06-16 11:18:08 +00:00
smx 438e2f3862 replace url
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
2026-06-16 10:50:09 +00:00
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -43,13 +43,13 @@ If you use the install script, you can preview what occurs during the install
process:
```bash
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
curl -fsSL https://gitamin.ir/IranAccess/code-server/raw/branch/main/install.sh | sh -s -- --dry-run
```
To install, run:
```bash
curl -fsSL https://code-server.dev/install.sh | sh
curl -fsSL https://gitamin.ir/IranAccess/code-server/raw/branch/main/install.sh | sh
```
When done, the install script prints out instructions for running and starting
+9 -9
View File
@@ -7,9 +7,9 @@ set -eu
usage() {
arg0="$0"
if [ "$0" = sh ]; then
arg0="curl -fsSL https://code-server.dev/install.sh | sh -s --"
arg0="curl -fsSL https://gitamin.ir/IranAccess/code-server/raw/branch/main/install.sh | sh -s --"
else
not_curl_usage="The latest script is available at https://code-server.dev/install.sh
not_curl_usage="The latest script is available at https://gitamin.ir/IranAccess/code-server/raw/branch/main/install.sh
"
fi
@@ -75,12 +75,12 @@ EOF
echo_latest_version() {
if [ "${EDGE-}" ]; then
version="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases | awk 'match($0,/.*"html_url": "(.*\/releases\/tag\/.*)".*/)' | head -n 1 | awk -F '"' '{print $4}')"
version="$(curl -fsSL https://gitamin.ir/api/v1/repos/IranAccess/code-server/releases | awk 'match($0,/.*"html_url": "(.*\/releases\/tag\/.*)".*/)' | head -n 1 | awk -F '"' '{print $4}')"
else
# https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c#gistcomment-2758860
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://github.com/coder/code-server/releases/latest)"
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://gitamin.ir/IranAccess/code-server/releases/latest)"
fi
version="${version#https://github.com/coder/code-server/releases/tag/}"
version="${version#https://gitamin.ir/IranAccess/code-server/releases/tag/}"
version="${version#v}"
echo "$version"
}
@@ -221,7 +221,7 @@ main() {
if [ "${RSH_ARGS-}" ]; then
RSH="${RSH-ssh}"
echoh "Installing remotely with $RSH $RSH_ARGS"
curl -fsSL https://code-server.dev/install.sh | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
curl -fsSL https://gitamin.ir/IranAccess/code-server/install.sh | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
return
fi
@@ -359,7 +359,7 @@ install_deb() {
echoh "Installing v$VERSION of the $ARCH deb package from GitHub."
echoh
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
fetch "https://gitamin.ir/IranAccess/code-server/releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
"$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
sudo_sh_c dpkg -i "$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
@@ -370,7 +370,7 @@ install_rpm() {
echoh "Installing v$VERSION of the $ARCH rpm package from GitHub."
echoh
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \
fetch "https://gitamin.ir/IranAccess/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \
"$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
sudo_sh_c rpm -U "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
@@ -396,7 +396,7 @@ install_standalone() {
echoh "Installing v$VERSION of the $ARCH release from GitHub."
echoh
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
fetch "https://gitamin.ir/IranAccess/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
"$CACHE_DIR/code-server-$VERSION-$OS-$ARCH.tar.gz"
# -w only works if the directory exists so try creating it first. If this