简体   繁体   中英

Pyinstaller drag-and-drop files to the --windowed app

How do I allow files to be dragged and dropped onto the --windowed app and allow for it to be seen as a text editor/code editor by the system (Be recommended when you click open with and can have files dragged onto it)? This question from stackoverflow is practically the same to mine but since I am using mac it seems that the answer is different. I could not get the suggested answer to work.

Add the desired filetypes to info_plist of the spec file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM