Name: powershell
Description: Windows PowerShell Wrapper For Wine
Provider: ProjectSynchro
License: GPLv2
License_url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Dependencies:
- powershell_core
Steps:
- action: archive_extract
  file_name: powershell-wrapper.zip
  url: https://codeberg.org/Synchro/powershell-wrapper-for-wine/releases/download/v4.1.0/powershell-wrapper.zip
  rename: pswrapper-4.1.0.zip
  file_checksum: 4717fc8ad35f57d208d52ba01c6f0ae2
  file_size: 1288912
- action: copy_file
  file_name: powershell.exe
  url: temp/pswrapper-4.1.0/32/
  dest: win32/WindowsPowerShell/v1.0/
- action: copy_file
  file_name: powershell.exe
  url: temp/pswrapper-4.1.0/64/
  dest: win64/WindowsPowerShell/v1.0/
  for:
    - win64
- action: copy_file
  file_name: profile.ps1
  url: temp/pswrapper-4.1.0/
  dest: windows/../Program Files/PowerShell/7/
- action: override_dll
  dll: powershell.exe
  type: native,builtin
