0.0.4 • Published 7 years ago

native-kde-file-open v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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);
  });
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago