installers

This commit is contained in:
2024-05-24 12:18:22 +02:00
parent 68685b53b0
commit 69fffab610
2 changed files with 18 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
cp -r . ~/wyst-package-manager
cd ~/wyst-package-manager
go build -o bin/ src/*.go
sudo cp bin/wpm /usr/bin/
+11
View File
@@ -0,0 +1,11 @@
@echo off
where go >nul 2>&1
if %errorlevel% neq 0 (
echo "please install go: https://go.dev/doc/install"
exit /b 1
) else (
xcopy . "%HOMEDRIVE%%HOMEPATH%\" /E /I /Y
cd /d "%HOMEDRIVE%%HOMEPATH%\wyst-package-manager"
go build -o bin/ src/*.go
)