question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • Version: 5.12.1
  • Target: macOS

How do I disable asar? Currently, I have the following in my package.json in the root directory of my project:

// package.json
"build": {
    "appId": "popcorn-time-desktop",
    "app-category-type": "public.app-category.video",
    "asar": false,
    "win": {
      "iconUrl": "https://cdn.rawgit.com/amilajack/popcorn-time-desktop/master/app/icons/app.ico"
    }
  },

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Aug 1, 2017

Now both values should work.

0reactions
amilajackcommented, Aug 1, 2017

@develar Would this be considered a bug? JSON supports boolean literals. "asar": false doesn’t work but "asar": "false" does.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable packing into asar files? · Issue #428 - GitHub
Hi guys, i notice that after we installed the app fr the installer, our html sources files are all pack into app. asar...
Read more >
Common Configuration - electron-builder
asar = true AsarOptions | Boolean | “undefined” - Whether to package the application's source code into an archive, using Electron's archive format....
Read more >
Options | electron-packager
Note: afterAsar will only be called if the asar option is set. ... Set to false to disable use of a temporary directory....
Read more >
Application Packaging | Electron
An asar archive is a simple tar-like format that concatenates files into a single file. ... noAsar to true to disable the support...
Read more >
node.js - Pack & unpack node_modules of an Electron Native ...
Asar is a read only archiv format, so you cant patch any files in the archive. But what you can do is to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found