Debugging and some other approach
parent
bfea6b4ae4
commit
50544c2e9a
|
@ -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