Skip to content

fix(install): show windows alias step after installer is downloaded if overwrites were avoided#446

Merged
zimeg merged 1 commit intomainfrom
zimeg-fix-install-windows-alias
Mar 30, 2026
Merged

fix(install): show windows alias step after installer is downloaded if overwrites were avoided#446
zimeg merged 1 commit intomainfrom
zimeg-fix-install-windows-alias

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented Mar 30, 2026

Changelog

The Windows installer now suggests providing an optional alias as a separate step from downloading the installer if overwrites earlier were avoided but still caused that installation to fail.

Summary

This PR updates the Windows installation scripts to show alias recommendations after the installer is downloaded if overwrites were avoided.

Fixes an issue where flags weren't parsed in the initial request - Thanks @amarinelli for the note! 🐛 ✨

Preview

These changes appear afterward:

demo

Reviewers

Overwrite previous installs for the session and test this branch:

> Set-Alias slack cat
> .\scripts\install-windows.ps1

Notes

📚 https://docs.slack.dev/tools/slack-cli/guides/installing-the-slack-cli-for-windows

Requirements

@zimeg zimeg added this to the Next Release milestone Mar 30, 2026
@zimeg zimeg requested a review from amarinelli March 30, 2026 06:58
@zimeg zimeg self-assigned this Mar 30, 2026
@zimeg zimeg requested a review from a team as a code owner March 30, 2026 06:58
@zimeg zimeg added bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented semver:patch Use on pull requests to describe the release version increment build M-T: Changes to compilation and CI processes labels Mar 30, 2026
@zimeg zimeg changed the title fix(install): show windows alias step on error after installer is downloaded if overwrites were avoided fix(install): show windows alias step after installer is downloaded if overwrites were avoided Mar 30, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.36%. Comparing base (0c37128) to head (744314e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
+ Coverage   70.32%   70.36%   +0.03%     
==========================================
  Files         220      220              
  Lines       18506    18506              
==========================================
+ Hits        13015    13022       +7     
+ Misses       4313     4307       -6     
+ Partials     1178     1177       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@amarinelli amarinelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with install script in your branch. Conflict detection unchanged, suggested commands to use an alias work well. No issues. Thanks @zimeg!

@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Mar 30, 2026

@amarinelli Super duper appreciated, please know! Let's now get this merged for upcoming release 🚀 🔮

@zimeg zimeg merged commit 7514e97 into main Mar 30, 2026
8 checks passed
@zimeg zimeg deleted the zimeg-fix-install-windows-alias branch March 30, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented build M-T: Changes to compilation and CI processes semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants