updated requirements
This commit is contained in:
@@ -143,7 +143,6 @@ foreach ($key in $Flags.Keys)
|
||||
# Important stuff
|
||||
$packages = @(
|
||||
"wez.wezterm", # Teminal emulator
|
||||
"neovim.neovim"
|
||||
"Schniz.fnm", # Fast node version manager
|
||||
"microsoft.teams",
|
||||
"putty.putty",
|
||||
@@ -156,7 +155,8 @@ $packages = @(
|
||||
"Python.Python.3.9", # project dependencies
|
||||
"Python.Python.3.10", # isort
|
||||
"JernejSimoncic.Wget", # nvim
|
||||
"7zip.7zip" # nvim
|
||||
"7zip.7zip", # nvim
|
||||
"GnuWin32.gzip",
|
||||
"rustlang.rustup",
|
||||
"Mozilla.Firefox",
|
||||
"SlackTechnologies.Slack"
|
||||
@@ -183,6 +183,31 @@ if ($Flags.WingetEnabled)
|
||||
{
|
||||
winget install $package
|
||||
}
|
||||
|
||||
powershell -c "irm https://raw.githubusercontent.com/MordechaiHadad/bob/master/scripts/install.ps1 | iex"
|
||||
|
||||
$toolPaths = @(
|
||||
"C:\ProgramData\chocolatey\tools",
|
||||
"C:\Program Files (x86)\GnuWin32\bin",
|
||||
"$env:LOCALAPPDATA\bob_bin"
|
||||
)
|
||||
|
||||
$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")
|
||||
|
||||
foreach ($toolPath in $toolPaths) {
|
||||
if ($currentPath -notlike "*$toolPath*") {
|
||||
$currentPath = "$currentPath;$toolPath"
|
||||
Write-Host "Added $toolPath to user PATH." -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "$toolPath is already in the user PATH." -ForegroundColor Yellow
|
||||
}
|
||||
}
|
||||
|
||||
[Environment]::SetEnvironmentVariable("Path", $currentPath, "User")
|
||||
|
||||
bob install nightly
|
||||
bob use nightly
|
||||
|
||||
}
|
||||
|
||||
if ($Flags.ExtrasEnabled)
|
||||
|
||||
Reference in New Issue
Block a user