Skip to content

Commit 0c9f72d

Browse files
committed
add choco and scoop installer script, turn dev mode by default
1 parent edd6cfc commit 0c9f72d

3 files changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<h1 align="center"> RedSand </h1> <div align="center"> <img src="RedSandLogo.png"><br>Windows SandBox environment for cybersecurity enthusiasts</a><br> </div>
2-
3-
[Releases](https://github.com/redcode-labs/RedSand/releases) | [Wiki](https://github.com/redcode-labs/RedSand/wiki)
1+
<h1 align="center"> RedSand </h1> <div align="center"> <img src="RedSandLogo.png"><br>Windows SandBox environment for cybersecurity enthusiasts</a><br>
2+
[Releases](https://github.com/redcode-labs/RedSand/releases) | [Wiki](https://github.com/redcode-labs/RedSand/wiki)
3+
</div>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Scoop
2+
try {
3+
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
4+
# add Scoop to PATH
5+
$env:PATH += ";$($HOME)\scoop\shims"
6+
} catch {
7+
Write-Error "Error occured during installation of Scoop $($_.Exception.Message)"
8+
return
9+
}
10+
# Chocolatey
11+
try {
12+
Set-ExecutionPolicy Bypass -Scope Process -Force
13+
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
14+
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
15+
} catch {
16+
Write-Error "Error occured during installation of Chocolatey: $($_.Exception.Message)"
17+
}

Utils/Scripts/DefaultScripts/setup.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force
22

3+
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" -Name "AllowDevelopmentWithoutDevLicense" -Value 1
4+
35
$Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize"
46
Set-ItemProperty $Theme AppsUseLightTheme -Value 0
57
Set-ItemProperty $Theme SystemUsesLightTheme -Value 0

0 commit comments

Comments
 (0)