Fixes
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
$DownloadFilesURL = 'https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/setupTmp.ps1'
|
irm 'https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/setupTmp.ps1' | iex
|
||||||
Invoke-Expression -Command (Invoke-WebRequest -Uri $DownloadFilesURL).Content
|
|
||||||
|
|
||||||
function CheckOfficeInstall {
|
function CheckOfficeInstall {
|
||||||
$officeRegistryPath = "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun"
|
$officeRegistryPath = "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun"
|
||||||
|
|||||||
@@ -4,8 +4,7 @@ function Import-ScriptsFromUrls {
|
|||||||
)
|
)
|
||||||
|
|
||||||
foreach ($url in $ScriptUrls) {
|
foreach ($url in $ScriptUrls) {
|
||||||
$scriptContent = Invoke-WebRequest -Uri $url
|
irm $url | iex
|
||||||
Invoke-Expression -Command $scriptContent.Content
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$baseUrl = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/"
|
$baseUrl = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/"
|
||||||
|
|||||||
Reference in New Issue
Block a user