asdf-community / asdf-flutter

flutter plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
110 stars 31 forks source link

Flutter versions starting with a period causing problems #10

Closed massivelivefun closed 4 years ago

massivelivefun commented 4 years ago

Below is a photo of all the recent versions of flutter that are available to install.

These versions should start with a number one.

Screen Shot 2020-05-22 at 3 29 45 PM

However, because these start with a period the installs are put into hidden folders and asdf cannot detect them as demonstrated below.

Screen Shot 2020-05-22 at 3 31 34 PM

Here is the confirmed hidden folder.

Screen Shot 2020-05-22 at 3 33 28 PM

Is this a problem with the asdf flutter script, something on Google's end, or with asdf as a whole?

massivelivefun commented 4 years ago

A simple fix is to rename the directory to the correct version of flutter, then set it to the global version of flutter and reshim.

oae commented 4 years ago

This should be fixed already on the latest plugin version. Did you update the plugin itself? Can you try these steps and check. https://github.com/oae/asdf-flutter/issues/7#issuecomment-618690054

massivelivefun commented 4 years ago

Sorry, updating the plugin fixed the problem.