How to add information to the info.plist on macOS when flet pack #3827
Replies: 6 comments
-
So, I understand you need to add that permission to the "inner" app - Flet viewer, not an "outer" shell app generated by PyInstaller? I don't know why modifying |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm missing something :-) in the dist folder I have an main.app (Application) and main (Unix Executable File) If I modify the info.plist in the app bundle it doesn't crash anymore on the Bluetooth. But the bluetooth doesn't work ... maybe it's normal ? But if I run the unix executable, I get a message the first time asking if the Terminal app can access the Bluetooth, then this works fine :-) So... Why :-) Thanks and by the way I love Flet... |
Beta Was this translation helpful? Give feedback.
-
When you first run an app bundle on macOS it unpacks "Flet View" app, which is also a bundle, to |
Beta Was this translation helpful? Give feedback.
-
Just did, still don't have the bluetooth working with the bundle. If I modify the info.plist of the bundle... the app signing is now outdated right ? Could this affect permissions ? Also, if I run the Unix executable, it open the Terminal and I can see my logs... But when I use the bundle, I can't find where the logs (print) are ? Thanks |
Beta Was this translation helpful? Give feedback.
-
@FeodorFitsner can you please give me your opinion on this please :-) Thanks |
Beta Was this translation helpful? Give feedback.
-
I don't know... modifying You can re-sign updated bundle with the following command:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, can you please provide info on how to be able to add more info to the info.plist please ? I'm using the Bluetooth and need to have the permission setup in the file:
I tried to change the bundle... Signing is not good anymore.
I tried changing the file macOS_utils.py to include this:
pl["Privacy - Bluetooth Peripheral Usage Description"] = "Can this app communicate with Bluetooth peripherals ?"
pl["Privacy - Bluetooth Always Usage Description"] = "Can this app use Bluetooth ?"
Still not visible inside the info.plist.
Help please :-)
Thanks
Francois
Beta Was this translation helpful? Give feedback.
All reactions