Add capacitorjs runtime

This commit is contained in:
olcxja 2026-05-03 17:09:55 +02:00
commit f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions

11
node_modules/electron-is-dev/index.js generated vendored Normal file
View file

@ -0,0 +1,11 @@
'use strict';
const electron = require('electron');
if (typeof electron === 'string') {
throw new TypeError('Not running in an Electron environment!');
}
const isEnvSet = 'ELECTRON_IS_DEV' in process.env;
const getFromEnv = Number.parseInt(process.env.ELECTRON_IS_DEV, 10) === 1;
module.exports = isEnvSet ? getFromEnv : !electron.app.isPackaged;