Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Windows: package name matches Insomnia #37

Closed
1 task done
paulius-valiunas opened this issue Oct 9, 2023 · 3 comments
Closed
1 task done

Windows: package name matches Insomnia #37

paulius-valiunas opened this issue Oct 9, 2023 · 3 comments
Labels

Comments

@paulius-valiunas
Copy link

Expected Behavior

Insomnium should be either updated as a separate app or not touched at all by winget

Actual Behavior

Insomnium is "updated" to Insomnia 8.2.0 by winget

Reproduction Steps

  1. install Insomnium
  2. run winget upgrade
  3. winget shows Insomium with the id insomnia.insomnia and "latest available" version 8.2.0
  4. run winget upgrade --all
  5. winget replaces Insomnium with Insomnia

Is there an existing issue for this?

Additional Information

Insomnium should have its own package name, but right now the package name matches that of Insomnia: insomnium.insomnium. I think this name is derived from the package name in ./packages/insomnia/package.json. More info on how the package name is determined can be found here: microsoft/winget-cli#3033

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 11 22H2

Installation method

GitHub releases

Last Known Working Insomnium version

No response

@TCB13
Copy link

TCB13 commented Oct 9, 2023

Insomnium should have its own package name

+1.

This also seems to cause issues / makes it impossible to have both applications installed at the same time.

PSA: if you’re on Insomnia export your data BEFORE installing Insomnium as it will obliterate your Insomnia installation and you’re going to lose your collections. Insomnium won't pick on the previous stored data.

@archywillhe
Copy link
Member

archywillhe commented Oct 10, 2023

I think this name is derived from the package name in ./packages/insomnia/package.json. More info on how the package name is determined can be found here: microsoft/winget-cli#3033

thanks! good find! I will patch this asap in the next release; looks like a windows-only bug (The name in the package.json at root has long been updated to Insomnium. if the fix is about changing pacakges/insomnia, then I need to test it out thoroughly as it may break other stuff)

@ShayBox
Copy link

ShayBox commented Oct 31, 2023

Could this also be added to winget?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants