Added sh and bat scripts
This commit is contained in:
13
run-linux.sh
Normal file
13
run-linux.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Download the Linux executable
|
||||
curl -L https://github.com/KeshavAnandCode/Terminal/releases/download/v1.0/portfolio-linux -o /tmp/portfolio
|
||||
|
||||
# Make it executable
|
||||
chmod +x /tmp/portfolio
|
||||
|
||||
# Run it
|
||||
/tmp/portfolio
|
||||
|
||||
# Clean up
|
||||
rm /tmp/portfolio
|
||||
13
run-mac.sh
Normal file
13
run-mac.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Download the macOS executable
|
||||
curl -L https://github.com/KeshavAnandCode/Terminal/releases/download/v1.0/portfolio-mac -o /tmp/portfolio
|
||||
|
||||
# Make it executable
|
||||
chmod +x /tmp/portfolio
|
||||
|
||||
# Run it
|
||||
/tmp/portfolio
|
||||
|
||||
# Clean up
|
||||
rm /tmp/portfolio
|
||||
13
run-windows.bat
Normal file
13
run-windows.bat
Normal file
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Download the Windows executable
|
||||
powershell -Command "Invoke-WebRequest -Uri 'https://github.com/KeshavAnandCode/Terminal/releases/download/v1.0/portfolio-windows' -OutFile '%TEMP%\\portfolio.exe'"
|
||||
|
||||
:: Run the executable
|
||||
"%TEMP%\portfolio.exe"
|
||||
|
||||
:: Clean up
|
||||
del "%TEMP%\portfolio.exe"
|
||||
|
||||
endlocal
|
||||
Reference in New Issue
Block a user