You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update install-aishell.ps1 to allow user to specify version to install (#345)
- Make packaging throw on Linux/macOS when the command `chmod` cannot be found
- Update `install-aishell.ps1` to allow user to specify version to install. When version is not specified, the latest release will be installed.
if ($PSVersionTable.PSVersion-lt [version]"7.4.6") {
@@ -22,19 +28,41 @@ function Resolve-Environment {
22
28
throw"Sorry, this install script is only compatible with Windows and macOS. If you want to install on Linux, please download the package directly from the GitHub repo at aka.ms/AIShell-Repo."
Write-Host-ForegroundColor Yellow "Currently the AIShell PowerShell module will only work in iTerm2 terminal and still has limited support but if you would like to test it, you can install it with 'Install-PSResource -Name AIShell -Repository PSGallery -Prerelease'."
174
213
Write-Host-ForegroundColor Yellow "The AI Shell app has been added to your path, please run 'aish' to use the standalone experience."
@@ -205,5 +244,5 @@ if ($Uninstall) {
205
244
Install-AIShellModule
206
245
207
246
$message=$IsWindows?"'Start-AIShell'" : "'aish'"
208
-
Write-Host"`nInstallation succeeded. To learn more about AI Shell please visit https://aka.ms/AIShell-Docs. To get started please run $message to start AI Shell."-ForegroundColor Green
247
+
Write-Host"`nInstallation succeeded.`nTo learn more about AI Shell please visit https://aka.ms/AIShell-Docs.`nTo get started please run $message to start AI Shell."-ForegroundColor Green
0 commit comments