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

How to disable packing into asar files? #428

Closed
ahgan84 opened this issue May 21, 2016 · 5 comments
Closed

How to disable packing into asar files? #428

ahgan84 opened this issue May 21, 2016 · 5 comments
Labels

Comments

@ahgan84
Copy link

ahgan84 commented May 21, 2016

Hi guys, i notice that after we installed the app fr the installer, our html sources files are all pack into app. asar and electron. asar. May i know is there a way to open it or not pack our source file into asar? This is because for maintenance convenience, we sometimes need to modify the html coding at the spot..

@gamestailer94
Copy link

gamestailer94 commented May 22, 2016

just add asar: false under build in you dev package.json
see https://github.com/electron-userland/electron-builder/wiki/Options#build

@develar
Copy link
Member

develar commented May 22, 2016

You should use asar because

  • Windows io is very poor — app start up time.
  • You must not (yes, must) modify app files after installation — code signing. Please use standard system locations to store user config.

@ahgan84
Copy link
Author

ahgan84 commented May 22, 2016

@develar , u mean if i disable the asar, it wil take longer time for my app to start up?

Can u explain more on what is code signing? And what is standard system location to store user config?

@develar
Copy link
Member

develar commented May 23, 2016

@ahgan84
Copy link
Author

ahgan84 commented May 23, 2016

I know that code signing is for security purposes but my app won't be distributing online. It will only be used privately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants