Skip to content

Wrap --codesign-identity & --add-binary into flet pack #1776

@joshvisionalgo

Description

@joshvisionalgo

Please Describe The Problem To Be Solved

In macOS if you pack a .app using "flet pack", and then codesign + notarize the app it will fail to run because the packed binaries are not signed as well. The easy workaround is to use pyinstaller which allows the argument "--codesign-identity" to complete the build with an end to end signing process.

The problem with this workaround appears to be that once the Application is opened the app icon changes to the Flet icon, and the application name changes to "Flet". Meanwhile, the app icon & name remain correct in /Applications.

(Optional): Suggest A Solution

  • Wrap --codesign-identity from pyinstaller into flet pack

Not sure how feasible or desirable this option fits into the future of the project, but it would be helpful with the current circus of code signing on MacOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions