wails
wails copied to clipboard
How to package the associated. pos suffix file and double-click to open it, supporting Windows and macos
Description
How to package the associated. pos suffix file and double-click to open it, supporting Windows and macos
Can I automatically associate. pos files through packaging and support double clicking to open them? I tried to manually associate macos, but after modifying the info.plist file, I double clicked to open the program and encountered an error
To Reproduce
1
Expected behaviour
1
Screenshots
1
Attempted Fixes
1
System Details
1
Additional context
1
v2.6.0 same problem
v2.6.0 same problem
This feature is planned for the next release.
@almas1992 Sorry, I noticed that I made a mistake. The problem I encountered was that after wails build, I compressed and decompressed the myapp. app file, but it couldn't be opened. The prompt was It's damaged and can't be opened. You should move it to the trash can.
@almas1992 Sorry, I noticed that I made a mistake. The problem I encountered was that after
wails build, I compressed and decompressed themyapp. appfile, but it couldn't be opened. The prompt wasIt's damaged and can't be opened. You should move it to the trash can.
https://stackoverflow.com/questions/26434518/xcode-is-damaged-and-can-t-be-opened-you-should-move-it-to-the-trash
Refer to this article, hope it helps!
@almas1992 Thank you for your suggestion. This is indeed useful to me, but I don't understand the reason behind it
xattr -rc myapp.app
@almas1992 Thank you for your suggestion. This is indeed useful to me, but I don't understand the reason behind it
xattr -rc myapp.app
Probably because your app is not code signed.