@lvce-editor/main-process 6.4.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3011,6 +3011,9 @@ const whenReady = () => {
3011
3011
  const appendCommandLineSwitch = (commandLineSwitch, value) => {
3012
3012
  app.commandLine.appendSwitch(commandLineSwitch, value);
3013
3013
  };
3014
+ const isPackagedDeb = () => {
3015
+ return app.isPackaged && process.platform === 'linux' && !process.env.APPIMAGE;
3016
+ };
3014
3017
 
3015
3018
  const Version = 'version';
3016
3019
  const Help = 'help';
@@ -6809,6 +6812,7 @@ const commandMap = {
6809
6812
  'CreatePidMap.createPidMap': createPidMap,
6810
6813
  'CreateUtilityProcessRpc.createUtilityProcessRpc': createUtilityProcessRpc,
6811
6814
  'DesktopCapturer.getSources': getSources,
6815
+ 'ElectronApp.isPackagedDeb': isPackagedDeb,
6812
6816
  'ElectronApplicationMenu.setItems': setItems,
6813
6817
  'ElectronBeep.beep': beep,
6814
6818
  'ElectronContentTracing.startRecording': startRecording,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "6.4.0",
3
+ "version": "6.6.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"