Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaged windows app includes unnecessary support artefacts #7

Open
freakboy3742 opened this issue Jan 31, 2023 · 0 comments
Open

Packaged windows app includes unnecessary support artefacts #7

freakboy3742 opened this issue Jan 31, 2023 · 0 comments
Labels
bug A crash or error in behavior. good first issue Is this your first time contributing? This could be a good place to start!

Comments

@freakboy3742
Copy link
Member

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.

@freakboy3742 freakboy3742 added bug A crash or error in behavior. good first issue Is this your first time contributing? This could be a good place to start! labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior. good first issue Is this your first time contributing? This could be a good place to start!
Projects
None yet
Development

No branches or pull requests

1 participant