What is .asar file and why it's used in electron applications
Asked Answered
E

1

22

So the question is in the title. As far as I understand, .asar is kind of archived file using in electron app. But what is the goal for it?

Epinasty answered 13/9, 2016 at 20:36 Comment(0)
O
16

Asar is used to concatenate your application files to one big file, it mitigates issues and it slightly speeds up require.

To mitigate issues around long path names on Windows, slightly speed up require and conceal your source code from cursory inspection, you can choose to package your app into an asar archive with little changes to your source code.

web archive of original URL Electron en ebook

Offish answered 13/9, 2016 at 21:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.