mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -709,16 +709,14 @@ jobs:
|
|||||||
} else {
|
} else {
|
||||||
Write-Host "Explorer is already running."
|
Write-Host "Explorer is already running."
|
||||||
}
|
}
|
||||||
|
|
||||||
# NEW: Starting Explorer triggers Windows Startup apps, including OneDrive.
|
# NEW: Starting Explorer triggers Windows Startup apps, including OneDrive.
|
||||||
# We must kill it again to ensure the SimplySign login window gets focus.
|
# We must kill it again to ensure the SimplySign login window gets focus.
|
||||||
Write-Host "Suppressing post-Explorer OneDrive popups..."
|
Write-Host "Suppressing post-Explorer OneDrive popups..."
|
||||||
Stop-Process -Name "OneDrive" -Force -ErrorAction SilentlyContinue
|
Stop-Process -Name "OneDrive" -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
# Nuke it from the current user's startup registry so it stays dead
|
# Nuke it from the current user's startup registry so it stays dead
|
||||||
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "OneDrive" /f 2>&1 | Out-Null
|
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "OneDrive" /f 2>&1 | Out-Null
|
||||||
|
|
||||||
Write-Host "Desktop initialized and OneDrive suppressed."
|
Write-Host "Desktop initialized and OneDrive suppressed."
|
||||||
|
|
||||||
- name: Install NPM deps
|
- name: Install NPM deps
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user