Skip to content

Commit

Permalink
fix(open shell): use AME Wizard native cpuArch
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 5, 2024
1 parent d623a26 commit 3b646b7
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ actions:
- !file: {path: '%windir%\AtlasDesktop\4. Interface Tweaks\Old Flyouts', builds: [ '>=22000' ], ignoreErrors: true}

# Delete ARM-specific files
# FTH files are deleted in its yml
# FTH files (which are also non-ARM) are deleted in its own YML
- !powerShell:
command: |
if (((Get-CimInstance -Class Win32_ComputerSystem).SystemType -match 'ARM64') -or ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64')) {
Write-Output 'ARM detected, removing Open-Shell as it''s incompatible.'
Remove-Item -Path """$([Environment]::GetFolderPath('Windows'))\AtlasDesktop\4. Interface Tweaks\Start Menu\*Open-Shell*""" -Force -Recurse
exit 2000
}
Remove-Item -Path """$([Environment]::GetFolderPath('Windows'))\AtlasDesktop\4. Interface Tweaks\Start Menu\*Open-Shell*""" -Force -Recurse
wait: true
cpuArch: 'Arm64'

0 comments on commit 3b646b7

Please sign in to comment.