Finished setup

This commit is contained in:
2023-11-06 11:10:04 +01:00
parent e79d479ba1
commit 0bea2797d0
2 changed files with 1 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
irm 'https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/setupTmp.ps1' | iex
function CheckOfficeInstall {
$officeRegistryPath = "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun"
if (Test-Path -Path $officeRegistryPath) {

View File

@@ -30,7 +30,7 @@ $scriptUrls = @(
)
$scripts = Import-ScriptsFromUrls -ScriptUrls $scriptUrls -LocalPath (Join-Path $env:LOCALAPPDATA "Temp")
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
foreach ($script in $scripts) {
. $script
}