SpotX-Official / SpotX

SpotX patcher used for patching the desktop version of Spotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to prevent Spotify from updating in Winget?

bayazidbh opened this issue · comments

🧐 Have you read the FAQ and viewed similar issues?

  • I have read the FAQ
  • I have checked older issues, open and closed
  • I did a clean install of SpotX as described in the FAQ

Сountry of your account

Indonesia

What is your Spotify Plan?

Free

Do you have Spicetify installed?

No

ℹ Computer information

- Spotify: 1.2.39.578.g0ea3f38b
- Windows: 
  - Edition		Windows 10 Pro
  - Version		22H2
  - Installed on	‎8/‎20/‎2022
  - OS build		19045.4412
  - Experience		Windows Feature Experience Pack 1000.19056.1000.0
- PowerShell: 5.1.19041.4412

📝 Description

  1. Install SpotX via main script
  2. Put y for Want to block Spotify updates? [Y/N]:
  3. Do winget upgrade
  4. Spotify is listed in winget upgrade and would be automatically upgrade by winget upgrade --all

It would be great if SpotX could somehow not register its installed Spotify into winget's detection. It's kinda annoying since winget can only either upgrades all or one package per winget upgrade command.

📸 Screenshots

image

image

winget has a native option not to update the packages you specify

  • run terminal as administrator
  • add Spotify package
winget pin add --id Spotify.Spotify
  • check that the package was added successfully
winget pin list
  • update all packages except Spotify
winget upgrade --all