Skip to content

Commit

Permalink
Fix OneDrive install
Browse files Browse the repository at this point in the history
- Remove whitespace
  • Loading branch information
LeDragoX committed Nov 29, 2023
1 parent d066db4 commit a92f497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/Invoke-DebloatSoftware.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Invoke-DebloatSoftware() {
Write-Status -Types "+" -Status "Running ShutUp10 and applying Recommended settings..."
Start-Process -FilePath "$ShutUpOutput" -ArgumentList "ooshutup10.cfg", "/quiet" -Wait # Wait until the process closes #
}

Pop-Location
Remove-ItemVerified (Split-Path -Path $ShutUpOutput) -Force -Recurse # Leave no extra files
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Install-Individual-System-Apps.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Install-MicrosoftEdge() {
function Install-OneDrive() {
Write-Status -Types "*" -Status "Installing OneDrive..."
Set-ItemPropertyVerified -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\OneDrive" -Name "DisableFileSyncNGSC" -Type DWord -Value 0
Start-Process -FilePath "$env:SystemRoot\SysWOW64\OneDriveSetup.exe"
Start-Process -FilePath "$env:SystemRoot\System32\OneDriveSetup.exe"
}

function Install-PaintPaint3D() {
Expand Down

0 comments on commit a92f497

Please sign in to comment.