Skip to content

Commit

Permalink
docs: fixed run commands (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev authored Sep 24, 2024
1 parent 4999e95 commit 76f53fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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
dart run run flutter_launcher_icons:generate
dart 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
dart run run flutter_launcher_icons:generate -f <your config file name here>
dart run flutter_launcher_icons:generate -f <your config file name here>
```

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

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

OR
Expand Down Expand Up @@ -64,15 +64,15 @@ After setting up the configuration, all that is left to do is run the package.
```shell
flutter pub get
flutter pub run flutter_launcher_icons
dart run flutter_launcher_icons
```

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

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

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

0 comments on commit 76f53fa

Please sign in to comment.