Skip to content

Commit 76f53fa

Browse files
authored
docs: fixed run commands (#577)
1 parent 4999e95 commit 76f53fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ A command-line tool which simplifies the task of updating your Flutter app's lau
1313
Run the following command to create a new config automatically:
1414

1515
```shell
16-
dart run run flutter_launcher_icons:generate
16+
dart run flutter_launcher_icons:generate
1717
```
1818

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

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

2323
```shell
24-
dart run run flutter_launcher_icons:generate -f <your config file name here>
24+
dart run flutter_launcher_icons:generate -f <your config file name here>
2525
```
2626

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

2929
```shell
30-
dart run run flutter_launcher_icons:generate -o
30+
dart run flutter_launcher_icons:generate -o
3131
```
3232

3333
OR
@@ -64,15 +64,15 @@ After setting up the configuration, all that is left to do is run the package.
6464
6565
```shell
6666
flutter pub get
67-
flutter pub run flutter_launcher_icons
67+
dart run flutter_launcher_icons
6868
```
6969

7070
If you name your configuration file something other than `flutter_launcher_icons.yaml` or `pubspec.yaml` you will need to specify
7171
the name of the file when running the package.
7272

7373
```shell
7474
flutter pub get
75-
flutter pub run flutter_launcher_icons -f <your config file name here>
75+
dart run flutter_launcher_icons -f <your config file name here>
7676
```
7777

7878
Note: If you are not using the existing `pubspec.yaml` ensure that your config file is located in the same directory as it.

0 commit comments

Comments
 (0)