Skip to content

Commit

Permalink
update readme to use dart run (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
eifr authored Sep 21, 2024
1 parent 8cf8aef commit a1b9a5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ A command-line tool which simplifies the task of updating your Flutter app's lau
Run the following command to create a new config automatically:

```shell
flutter pub run flutter_launcher_icons:generate
dart run run flutter_launcher_icons:generate
```

This will create a new file called `flutter_launcher_icons.yaml` in your `flutter` project's root directory.

If you want to override the default location or name of the config file, use the `-f` flag:

```shell
flutter pub run flutter_launcher_icons:generate -f <your config file name here>
dart run run flutter_launcher_icons:generate -f <your config file name here>
```

To override an existing config file, use the `-o` flag:

```shell
flutter pub run flutter_launcher_icons:generate -o
dart run run flutter_launcher_icons:generate -o
```

OR
Expand Down

0 comments on commit a1b9a5b

Please sign in to comment.