YehudaKremer / msix

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

[BUG] The app is only visible when running as an administrator. #204

Open hanguk0726 opened 1 year ago

hanguk0726 commented 1 year ago

:information_source: Info

msix: ^3.14.1

:speech_balloon: Description

The app is only visible when running as an administrator. I downloaded it for testing from the Microsoft store, but I can't see the app. I checked that it is in the Taskmanager. When run as an administrator, it works fine.

:scroll: Pubspec.yaml

environment: sdk: '>=3.0.2 <4.0.0'

msix_config: display_name: publisher_display_name: (values from ms partner center) identity_name: publisher: msix_version: 1.0.0.0 logo_path: store: true capabilities: microphone, webcam

YehudaKremer commented 1 year ago

Hello

Maybe its this bug https://github.com/YehudaKremer/msix/issues/189

hanguk0726 commented 1 year ago

I changed win32_window.cpp as described in the link. The window now appears, but the app function still works normally only with administrator privilege. Is there anything in the msix setup that is related to the administrator privilege I missed?

YehudaKremer commented 1 year ago

What package ("dependencies") you using?

hanguk0726 commented 1 year ago

Here is the list. dependencies: flutter: sdk: flutter

cupertino_icons: ^1.0.2 irondash_message_channel: ^0.1.0 irondash_engine_context: ^0.1.0 flutter_spinkit: ^5.1.0 provider: ^6.0.5 rxdart: ^0.27.7 window_manager: ^0.3.2 path: ^1.8.3 path_provider: ^2.0.14 objectbox: ^2.0.0 objectbox_flutter_libs: any media_kit: ^0.0.5
media_kit_video: ^0.0.7
media_kit_native_event_loop: ^1.0.3
media_kit_libs_windows_video: ^1.0.2
fullscreen_window: ^1.0.4 slider_controller: ^0.0.5 audio_video_progress_bar: ^1.0.1 intl: ^0.18.1 wakelock: ^0.6.2 easy_debounce: ^2.0.3 sentry_flutter: ^7.5.2 package_info_plus: ^3.1.2

dev_dependencies: flutter_test: sdk: flutter

flutter_lints: ^2.0.0 build_runner: ^2.4.1 objectbox_generator: any

YehudaKremer commented 1 year ago

Sorry for the response delay, Msix installation is not adding requirement for administrator privileges.

When you run your app without msix installation ("after running flutter build windows"), can run the .exe file without administrator privileges?

hanguk0726 commented 1 year ago

Yes, after 'flutter build windows' without msix, exe files work normally without administrator privileges. I think there is a chance that this issue is on the Microsoft Store.