@lvce-editor/main-process 6.41.1 → 6.41.2

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.
@@ -5468,6 +5468,10 @@ const beep = () => {
5468
5468
  shell.beep();
5469
5469
  };
5470
5470
 
5471
+ const writeText = async text => {
5472
+ await clipboard.writeText(text);
5473
+ };
5474
+
5471
5475
  /**
5472
5476
  * @param { Electron.TraceConfig | Electron.TraceCategoriesAndOptions} options
5473
5477
  */
@@ -8008,6 +8012,7 @@ const commandMap = {
8008
8012
  'ElectronApp.isPackagedDeb': isPackagedDeb,
8009
8013
  'ElectronApplicationMenu.setItems': setItems,
8010
8014
  'ElectronBeep.beep': beep,
8015
+ 'ElectronClipBoard.writeText': writeText,
8011
8016
  'ElectronContentTracing.startRecording': startRecording,
8012
8017
  'ElectronContentTracing.stopRecording': stopRecording,
8013
8018
  'ElectronContextMenu.openContextMenu': openContextMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "6.41.1",
3
+ "version": "6.41.2",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"