-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.windows.ps1
44 lines (35 loc) · 2 KB
/
install.windows.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# To run this script directly, run this in an elevated admin PowerShell prompt:
# Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/LearnWithLlew/ManyOfOne/master/install.windows.ps1 | Invoke-Expression
iwr -useb cin.st | iex
choco feature enable --name=allowGlobalConfirmation
cinst vscode win-no-annoy googlechrome
cinst poshgit git github-desktop
cinst notepadplusplus beyondcompare
cinst visualstudio2019professional visualstudio2019-workload-manageddesktop netfx-4.8-devpack
cinst resharper-ultimate-all ncrunch-vs2019
cinst anydesk
cinst dotnetcore-sdk
dotnet tool install --global DiffEngineTray --version 5.0.0-beta.6
# delete annoying Windows notification sounds
Remove-Item -Recurse HKCU:\AppEvents\Schemes
Set-Service Audiosrv -StartupType Automatic
@(
'joaompinto.vscode-graphviz'
'coenraads.bracket-pair-colorizer-2'
'wmaurer.change-case'
'streetsidesoftware.code-spell-checker'
'ryu1kn.partial-diff'
'ms-vscode.powershell'
'mohsen1.prettify-json'
'vscode-icons-team.vscode-icons'
) | % { & "C:\Program Files\Microsoft VS Code\bin\code.cmd" --install-extension $_ }
& "C:\Program Files\Git\cmd\git.exe" clone https://github.com/LearnWithLlew/ManyOfOne.git C:\Source\ManyOfOne
& "C:\Program Files\Git\cmd\git.exe" clone https://github.com/LearnWithLlew/ManyOfOne.slides.git C:\Source\ManyOfOne.slides
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" /verbosity:minimal C:\Source\ManyOfOne\ManyOfOne.sln /target:restore,build
$ProgressPreference = 'SilentlyContinue'
$mobtimeVersion = '1.7.4'
iwr https://github.com/GreatWebGuy/MobTime/releases/download/v$mobtimeVersion/MobTime-$mobtimeVersion.msi -O MobTime.msi
./MobTime.msi /qr
& "${env:ProgramFiles(x86)}\Google\Chrome\Application\chrome.exe" https://marketplace.visualstudio.com/items?itemName=HangjitRai.AutoSaveFile
& "${env:ProgramFiles(x86)}\Google\Chrome\Application\chrome.exe" https://app.mindmup.com/map/new
Write-Host -Foreground yellow "Reboot when done"