fluttertools / sidekick

A simple app to make Flutter development more delightful

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate releases displayed (add arch differentiation on MacOS)

DanMossa opened this issue Β· comments

I'm running this on an m1 mac mini.

image

What's the issue here? Are there's versions not installed?

Sorry, by multiple I meant duplicate. Every version has a duplicated row

I'm seeing the same

Screenshot 2022-07-01 at 22 34 27

I'm seeing the same

Screenshot 2022-07-01 at 22 34 27

Is this also in an M1 Mac?

Ah sorry - yes

MacBook Pro 16, Apple M1 Max
macOS Monterey 12.4

Any way I can help you debugging this?

I don't have a Mac, so if you could clone the project, figure out what's happening and push a PR that'd definitely help πŸ˜‚πŸ˜œ

Otherwise we'll have to wait on @leoafarias to be able to take a look :)

Ok, got it.

Since Flutter is being built for both x64 and arm64 platforms, we have more versions to choose from.
See releases.json: https://raw.githubusercontent.com/fluttertools/fvm/main/releases_macos.json

This would require some work to indicate architectures in both the Sidekick UI and fvm cli.

fvm releases

...
Apr 13 22  β”‚ 2.13.0-0.1.pre
Apr 13 22  β”‚ 2.13.0-0.1.pre
Apr 18 22  β”‚ 2.10.5
Apr 20 22  β”‚ 2.13.0-0.2.pre
Apr 20 22  β”‚ 2.13.0-0.2.pre
Apr 27 22  β”‚ 2.13.0-0.3.pre
Apr 27 22  β”‚ 2.13.0-0.3.pre
May 5 22   β”‚ 2.13.0-0.4.pre
May 5 22   β”‚ 2.13.0-0.4.pre
May 11 22  β”‚ 3.0.0
May 11 22  β”‚ 3.0.0
May 20 22  β”‚ 3.0.1
May 20 22  β”‚ 3.0.1
May 26 22  β”‚ 3.1.0
May 26 22  β”‚ 3.1.0
Jun 10 22  β”‚ 3.0.2
Jun 10 22  β”‚ 3.0.2
Jun 15 22  β”‚ 3.1.0-9.0.pre
--------------------------------------
Jun 15 22  β”‚ 3.1.0-9.0.pre     beta
--------------------------------------
Jun 22 22  β”‚ 3.0.3
Jun 22 22  β”‚ 3.0.3
Jul 1 22   β”‚ 3.0.4
--------------------------------------
Jul 1 22   β”‚ 3.0.4             stable
--------------------------------------

@karniv00l I will have to take a look as we have to now change the display logic... But should not affect the installation, just the display. Will filter out the releases based on architecture

Partial solution comitted, still waiting on arch-based solution, must be provided through FVM, @leoafarias

Available in 1.1.0