Skip to content

Commit 0aaa57e

Browse files
committed
extra/windows: remove statements for downloading windows supplementary files
1 parent a53c199 commit 0aaa57e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

extra/windows/setup.ps1

-12
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22

33
$ErrorActionPreference = 'Stop'
44

5-
# Download and extract supplements (Firefox, SlimerJS) for laitos
6-
$dataDrive = Read-Host -Prompt 'Under which drive will laitos supplements be installed? E.g. C:\'
7-
$supplementsURL = 'https://github.com/HouzuoGuo/laitos-windows-supplements/archive/master.zip'
8-
$supplementsSaveTo = $dataDrive + 'laitos-windows-supplements.zip'
9-
$supplementsDest = $dataDrive + 'laitos-windows-supplements'
10-
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
11-
(New-Object Net.WebClient).DownloadFile($supplementsURL, $supplementsSaveTo)
12-
$extractedSupplements = (New-Object -Com shell.application).namespace($supplementsSaveTo).Items()
13-
(New-Object -Com shell.application).namespace($dataDrive).CopyHere($extractedSupplements, 16)
14-
Remove-Item -ErrorAction Ignore -Recurse "$supplementsDest"
15-
Rename-Item "${dataDrive}laitos-windows-supplements-master" $supplementsDest
16-
175
# Run laitos automatically as system boots up via task scheduler
186
$laitosCmd = Read-Host -Prompt 'What is the absolute path to laitos.exe? E.g. %USERPROFILE%\laitos.exe'
197
$laitosArg = Read-Host -Prompt 'What parameters to use for launching laitos automatically? E.g. -disableconflicts -awsinteg -prominteg -gomaxprocs 2 -config config.json -daemons autounlock,dnsd,httpd,httpproxy,insecurehttpd,maintenance,passwdrpc,phonehome,plainsocket,simpleipsvcd,smtpd,snmpd,sockd,telegram'

0 commit comments

Comments
 (0)