more work
This commit is contained in:
@@ -37,28 +37,6 @@ if (-not (Get-Command "java" -ErrorAction SilentlyContinue)) {
|
||||
|
||||
}
|
||||
|
||||
# Check that git is installed
|
||||
if (-not (Get-Command "git" -ErrorAction SilentlyContinue)) {
|
||||
Write-Host "Error: git is not installed." -Foreground Red
|
||||
|
||||
if ($winget) {
|
||||
Write-Host "Attempting to install git."
|
||||
winget install --id Git.Git -e --source winget
|
||||
}
|
||||
else {
|
||||
Write-Host "Please install git to continue." -Foreground Red
|
||||
exit 1
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# Check that multimc is installed
|
||||
if (-not (Get-Command "multimc" -ErrorAction SilentlyContinue)) {
|
||||
Write-Host "Error: multimc is not installed." -Foreground Red
|
||||
Write-Host "Please install multimc to continue." -Foreground Red
|
||||
exit 1
|
||||
}
|
||||
|
||||
if (Test-Path ".venv") { } else { python -m venv .venv }
|
||||
|
||||
. ./.venv/bin/Activate.ps1
|
||||
|
||||
Reference in New Issue
Block a user