YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
280 stars 70 forks source link

[DOCUMENTATION] What does `add_execution_alias` do? #116

Closed CaptainDario closed 2 years ago

CaptainDario commented 2 years ago

From reading the documentation

Add an alias to active the app, use the pubspec.yaml name: value, so if your app calls 'Flutter_App', user can activate the app using flutterapp command.

I thought that I can run my app from cmd. However, this does not seem to be the case. What does this option do?

YehudaKremer commented 2 years ago

Yes, should run from cmd. Set it to true.

What in your

name:

?

בתאריך יום ב׳, 14 במרץ 2022, 22:46, מאת CaptainDario ‏< @.***>:

From reading the documentation

Add an alias to active the app, use the pubspec.yaml name: value, so if your app calls 'Flutter_App', user can activate the app using flutterapp command. I thought that I can run my app from cmd. However, this does not seem to be the case. What does this option do?

— Reply to this email directly, view it on GitHub https://github.com/YehudaKremer/msix/issues/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHHDXFILIPSVFXKB6LAW4DU76QR5ANCNFSM5QWWJUXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

CaptainDario commented 2 years ago

Okay, I set the value to the name I want my app to be run from. Is there a way to set the alias?

YehudaKremer commented 2 years ago

set it to true:

msix_config:
  add_execution_alias: true

then tell me what is your app name:

name: ???
CaptainDario commented 2 years ago

I set it to true:

msix_config:
  add_execution_alias: true

And this is set to:

name: da_kanji_mobile

Now I can run it via da_kanji_mobile, but I would like to run it via dakanji

YehudaKremer commented 2 years ago

Hello @CaptainDario

You can now (version 3.4.0) set the execution alias, see: changelog

Thank you

CaptainDario commented 2 years ago

Thank you very much for this quick update!