mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 19:39:31 +00:00
docs: remove obsolete cmd bootstrap and delete dcrup.cmd
This commit is contained in:
13
dcrup.cmd
13
dcrup.cmd
@@ -1,13 +0,0 @@
|
|||||||
@echo off
|
|
||||||
setlocal
|
|
||||||
set "SCRIPT_DIR=%~dp0"
|
|
||||||
if exist "%SCRIPT_DIR%dcrup.ps1" (
|
|
||||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%dcrup.ps1" %*
|
|
||||||
exit /b %ERRORLEVEL%
|
|
||||||
)
|
|
||||||
if exist "%USERPROFILE%\.dcr\bin\dcrup.ps1" (
|
|
||||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%USERPROFILE%\.dcr\bin\dcrup.ps1" %*
|
|
||||||
exit /b %ERRORLEVEL%
|
|
||||||
)
|
|
||||||
echo [error] dcrup.ps1 not found near dcrup.cmd >&2
|
|
||||||
exit /b 1
|
|
||||||
@@ -31,13 +31,7 @@ export PATH="$HOME/.dcr/bin:$PATH"
|
|||||||
dcrup install stable
|
dcrup install stable
|
||||||
```
|
```
|
||||||
|
|
||||||
Optional cmd bootstrap (if you prefer `curl` of the cmd shim):
|
After `self-install`, the command is **`dcrup`** (no `.sh` / `.ps1`) and is installed in `~/.dcr/bin` (Unix) or `%USERPROFILE%\.dcr\bin` (Windows).
|
||||||
|
|
||||||
```bat
|
|
||||||
curl -fsSL -o dcrup.cmd https://cmd.dcr-tool.ru
|
|
||||||
```
|
|
||||||
|
|
||||||
After `self-install`, the command is **`dcrup`** (no `.sh` / `.ps1`): shims live in `~/.dcr/bin` (Unix) or `%USERPROFILE%\.dcr\bin` (Windows `dcrup.cmd`).
|
|
||||||
|
|
||||||
### Common dcrup commands
|
### Common dcrup commands
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user