Skip to content

About

open native file dialog on kde plasma desktop

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Native KDE File Open

This module allows for the opening of a native file window in KDE distributions, and is intended for use in Electron applications until a full fix has been created for this issue.

To use:

  const nativePicker = require('native-kde-file-open');

  // to open single file or multiple files, with promise
  nativePicker.openFile().then(ret => {
    console.log(ret);
  });

  // to open single file or multiple files, with callback
  nativePicker.openFile((err, ret) => {
    console.log(ret);
  });

  // to save single file or multiple files, with promise
  nativePicker.saveFile().then(ret => {
    console.log(ret);
  });

  // to save single file or multiple files, with callback
  nativePicker.saveFile((err, ret) => {
    console.log(ret);
  });

About

open native file dialog on kde plasma desktop

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages