Skip to content

Conversation

@Molier
Copy link

@Molier Molier commented Jan 18, 2025

the script didn't work on windows powershell 7 machine.
I think this makes it more versatile and work on more machines and also show an error.

fix: support both pwsh and powershell.exe in install/uninstall scripts

  • Add fallback to powershell.exe if pwsh not found
  • Prevent silent failures by checking for PowerShell availability
  • Add pause to show errors before window closes

fix: support both pwsh and powershell.exe in install/uninstall scripts

- Add fallback to powershell.exe if pwsh not found
- Prevent silent failures by checking for PowerShell availability
- Add pause to show errors before window closes
fix: support both pwsh and powershell.exe in install/uninstall scripts

- Add fallback to powershell.exe if pwsh not found
- Prevent silent failures by checking for PowerShell availability
- Add pause to show errors before window closes
@Nonary
Copy link
Owner

Nonary commented Jan 23, 2025

Can you submit this PR to the source repository?

https://github.com/Nonary/SunshineScriptInstaller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants