From 703e03aba33f234712206769f57717ba7d92d23d Mon Sep 17 00:00:00 2001 From: LinuxWizard42 Date: Wed, 12 Oct 2022 22:54:37 +0300 Subject: Added export_allowed file to make repository visible in cgit --- node_modules/@electron/universal/entry-asar/has-asar.js | 7 +++++++ node_modules/@electron/universal/entry-asar/no-asar.js | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 node_modules/@electron/universal/entry-asar/has-asar.js create mode 100644 node_modules/@electron/universal/entry-asar/no-asar.js (limited to 'node_modules/@electron/universal/entry-asar') diff --git a/node_modules/@electron/universal/entry-asar/has-asar.js b/node_modules/@electron/universal/entry-asar/has-asar.js new file mode 100644 index 0000000..9e37f7d --- /dev/null +++ b/node_modules/@electron/universal/entry-asar/has-asar.js @@ -0,0 +1,7 @@ +if (process.arch === 'arm64') { + process._archPath = require.resolve('../app-arm64.asar'); +} else { + process._archPath = require.resolve('../app-x64.asar'); +} + +require(process._archPath); diff --git a/node_modules/@electron/universal/entry-asar/no-asar.js b/node_modules/@electron/universal/entry-asar/no-asar.js new file mode 100644 index 0000000..5391363 --- /dev/null +++ b/node_modules/@electron/universal/entry-asar/no-asar.js @@ -0,0 +1,7 @@ +if (process.arch === 'arm64') { + process._archPath = require.resolve('../app-arm64'); +} else { + process._archPath = require.resolve('../app-x64'); +} + +require(process._archPath); -- cgit v1.2.3-86-g962b