mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Debugging and some other approach
This commit is contained in:
parent
bfea6b4ae4
commit
50544c2e9a
9
dist/platforms/windows/entrypoint.ps1
vendored
9
dist/platforms/windows/entrypoint.ps1
vendored
@ -1,9 +1,16 @@
|
|||||||
Get-Process
|
Get-Process
|
||||||
|
|
||||||
|
# 🔥 List all files under C:\Users
|
||||||
|
Write-Host "📂 Listing contents of C:\Users"
|
||||||
|
Get-ChildItem -Recurse "C:\Users" | ForEach-Object {
|
||||||
|
Write-Host $_.FullName
|
||||||
|
}
|
||||||
|
|
||||||
# Copy .upmconfig.toml if it exists
|
# Copy .upmconfig.toml if it exists
|
||||||
if (Test-Path "C:\githubhome\.upmconfig.toml") {
|
if (Test-Path "C:\githubhome\.upmconfig.toml") {
|
||||||
Write-Host "Copying .upmconfig.toml to C:\Users\runneradmin"
|
Write-Host "Copying .upmconfig.toml to C:\Users\runneradmin"
|
||||||
Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\Users\runneradmin\" -Force
|
# Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\Users\runneradmin\" -Force
|
||||||
|
Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\ProgramData\Unity\config\upmconfig.toml" -Force
|
||||||
} else {
|
} else {
|
||||||
Write-Host "No .upmconfig.toml found at C:\githubhome"
|
Write-Host "No .upmconfig.toml found at C:\githubhome"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user