electron-is-running-in-asar2

Check if the application is running from inside an asar package

Usage no npm install needed!

<script type="module">
  import electronIsRunningInAsar2 from 'https://cdn.skypack.dev/electron-is-running-in-asar2';
</script>

README

electron-is-running-in-asar2

Check if the application is running from inside an asar package

Install

$ npm install --save electron-is-running-in-asar2

Usage

const isRunningInAsar = require('electron-is-running-in-asar2');

if (isRunningInAsar()) {
    console.log('Running the app from inside an asar package!');
}

License

MIT