Skip to content

Packaged windows app includes unnecessary support artefacts #6

@freakboy3742

Description

@freakboy3742

Describe the bug

When deployed, a Briefcase Windows app unpacks the Python support package; this includes a copy of python.exe and pythonw.exe. These files are unnecessary, increase the size of the packaged app, and potentially represent a security issue. They should be stripped before packaging.

Steps to reproduce

  1. Generate a windows app
  2. See python.exe and pythonw.exe in the packaged app.

Expected behavior

The Python binaries should be stripped as part of the build process.

Screenshots

No response

Environment

  • Operating System: Windows
  • Python version: All
  • Software versions:
    • Briefcase: 0.3.12

Logs

n/a

Additional context

The briefcase.toml file on a template can contain a cleanup_paths definition; this allows a template to specify files that should be deleted after the template is rolled out. See the beeware/briefcase-macOS-app-template for an example of usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.good first issueIs this your first time contributing? This could be a good place to start!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions