abgox / PSCompletions

A completion manager for better and simpler use completions in PowerShell. 一个补全管理模块,更简单、更方便的在 PowerShell 中使用命令补全。
https://pscompletions.pages.dev
MIT License
66 stars 4 forks source link

Option to disable update check #5

Closed soredake closed 7 months ago

soredake commented 8 months ago

I have a script that updates PowerShell modules once a week, I don't need this update check: image

abgox commented 8 months ago
soredake commented 8 months ago
  • Unfortunately,it's necessary

For me, it's not, I don't use these completions this often, not having a choice to disable this isn't good.

This is an update of the module and must be kept up-to-date, as all the completion in the repo is for the latest version service. If the version is not the latest, Adding, updating, and removing completion may trigger unexpected incompatibility errors

I update both modules and completion, I don't need an update check.

soredake commented 8 months ago

And needing to press any key TWICE to skip this updater is ridiculous: image

abgox commented 8 months ago
soredake commented 8 months ago
  • Of course, frequent updates are a problem

It's not a problem when you are not annoyed by this update check that you don't really need.

abgox commented 8 months ago

Just press Enter, it won't take up much of your time. When you are the latest version, the update check will not appear.

soredake commented 8 months ago

Just press Enter, it won't take up much of your time.

I don't want to, I set up a weekly update script not to ever update anything manually.

And most importantly, I don't think this module is important enough to block you from using shell until you do something, nothing bad (or anything at all probably) will happen if i just not update module or completions.

abgox commented 8 months ago

If you are unwilling to do such a simple thing(Only press Enter), why not uninstall it directly? As you said, this module isn't important.

soredake commented 8 months ago

this module isn't important.

That's not what i said, i said I don't think this module is important enough to block you from using shell until you do something, i do want to use this module, just without this update check.

abgox commented 8 months ago
abgox commented 7 months ago

In the new version, this option has been added.

soredake commented 7 months ago

@abgox thank you!