-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3225ad5
commit 4e60fe4
Showing
3 changed files
with
100 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@echo off | ||
|
||
:: Define variables | ||
set CLI_NAME=scan2dojo | ||
set VERSION=v1.0.0 | ||
set DOWNLOAD_URL=https://github.com/moudjames23/scan2dojo/releases/download/%VERSION%/%CLI_NAME%-windows.exe | ||
|
||
:: Download the binary | ||
echo Downloading %CLI_NAME% from %DOWNLOAD_URL%... | ||
powershell -Command "Invoke-WebRequest -Uri %DOWNLOAD_URL% -OutFile %CLI_NAME%.exe" | ||
|
||
:: Move the binary to a directory in PATH | ||
move %CLI_NAME%.exe C:\Windows\System32\ | ||
|
||
echo %CLI_NAME% installed successfully! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters