electron / packager

Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI
https://npm.im/@electron/packager
BSD 2-Clause "Simplified" License
121 stars 11 forks source link

Suggest adding the command to package asar files #1738

Open Whirity404 opened 1 week ago

Whirity404 commented 1 week ago

Preflight Checklist

Problem Description

When I was packaging the latest version of Electron, I found that the resources folder under the application's folder no longer packages asar files,I don't want the code I write to spread

Proposed Solution

Add options for packaging commands and write them in the document (e.g "electron-packager . --overwrite --spawn-asar-archive")

Alternatives Considered

See "Proposed Solution)

Additional Informations

Electron version:31.0

(Image Language:zh_CN) Screenshot_20240622_204313

welcome[bot] commented 1 week ago

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.