-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update winget dev box setup script (#147)
- Loading branch information
Showing
3 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
fellow/SRC/build/Scripts/WinFellow-DevEnvironment-winget.bat
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
fellow/SRC/build/Scripts/WinFellow-DevEnvironment-winget.ps1
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,30 @@ | ||
winget install Microsoft.VisualStudio.2022.Community --silent --accept-package-agreements --override "--wait --quiet --add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22000 --includeRecommended" | ||
winget install Microsoft.VisualStudio.Locator --silent --accept-package-agreements | ||
winget install JanDeDobbeleer.OhMyPosh --silent --accept-package-agreements | ||
winget install NSIS.NSIS --silent --accept-package-agreements | ||
winget install 7zip.7zip --silent --accept-package-agreements | ||
winget install MiKTeX.MiKTeX --silent --accept-package-agreements | ||
winget install LyX.LyX --silent --accept-package-agreements | ||
winget install DimitriVanHeesch.Doxygen --silent --accept-package-agreements | ||
winget install Graphviz.Graphviz --silent --accept-package-agreements | ||
# winget install ArtifexSoftware.GhostScript --silent --accept-package-agreements | ||
|
||
winget install Hugo.Hugo --silent --accept-package-agreements | ||
winget install GoLang.Go --silent --accept-package-agreements | ||
|
||
# add tools required for unattended builds to path variable | ||
$LyxPath = Resolve-Path "${env:ProgramFiles(x86)}\LyX*\bin" | ||
If([string]::IsNullOrEmpty($LyXPath)) { $LyxPath = Resolve-Path "${env:ProgramFiles}\LyX*\bin" } | ||
$7ZipPath = "${env:ProgramFiles}\7-Zip" | ||
$NSISPath = Resolve-Path "${env:ProgramFiles(x86)}\NSIS" | ||
If([string]::IsNullOrEmpty($NSISPath)) { $NSISPath = Resolve-Path "${env:ProgramFiles}\NSIS" } | ||
|
||
[Environment]::SetEnvironmentVariable("Path", "$env:Path;$LyXPath;$7ZipPath;$NSISPath", [System.EnvironmentVariableTarget]::Machine) | ||
|
||
# refresh path variable | ||
# $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | ||
|
||
# check for MiKTeX updates | ||
miktex --admin packages update | ||
# the following requires UAC prompts to be confirmed to install missing packages on the first compile, so maybe user-based installation makes more sense? | ||
initexmf --admin --set-config-value=[MPM]AutoInstall=t |
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