mrrhak / icons_launcher

Icons Launcher - A command-line tool that simplifies the task of updating your Flutter app's launcher icon. Full flexibility allows you to only update the launcher icon for specific platforms as needed.
https://pub.dev/packages/icons_launcher
MIT License
115 stars 11 forks source link

[BUG] snap/gui/app_icon.desktop replaced on icons_launcher:create. #23

Closed fredrikbaberg closed 1 year ago

fredrikbaberg commented 1 year ago

:information_source: Info

v2.0.5

:speech_balloon: Description

When running flutter pub run icons_launcher:create, the file snap/gui/app_icon.desktop is overwritten by an example file. For example, I have changed Name and Comment in the file and this is replaced by the default values:

Name=Flutter Linux App
Comment=Flutter Linux launcher icon

:scroll: Pubspec.yaml

icons_launcher.yaml as follows:

icons_launcher:
  image_path: "assets/icons/logo.png"
  platforms:
    android:
      enable: true
    ios:
      enable: false
    linux:
      enable: true
    macos:
      enable: false
    web:
      enable: true
    windows:
      enable: true
mrrhak commented 1 year ago

Hello @fredrikbaberg,

Thank you for reporting this issue. I will fix it asap.

fredrikbaberg commented 1 year ago

Thank you, I've verified that it works now. Also, thank you for creating this package!

mrrhak commented 1 year ago

Thank you