tauri-apps / create-tauri-app

Rapidly scaffold out a new tauri app project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use "irm" instead of "iwr -useb" in PowerShell.

Mukul1127 opened this issue · comments

In PowerShell, you can do:

irm https://create.tauri.app/ps | iex

instead of:

iwr -useb https://create.tauri.app/ps | iex

irm or iwr, both works similarly but with any of them, we still have to use -useb because some older versions of PowerShell couldn't parse the script correctly.

Is there something am I missing here?

Is this really an issue though, all modern versions of windows come with PowerShell 5.1 which works fine.

PowerShell 4 also seems to work from this post at least: Update Powershell through command line

cool, would you like to open a PR @Mukul1127 ?

Created a pull request.