mirror of
https://github.com/kopia/kopia.git
synced 2026-03-18 06:06:16 -04:00
- added ability to make new snapshots from the UI
- added directory picker
- hide/show macOS dock icon automatically
- fixed copy/paste on Mac (apparently if you don't have 'Edit' menu
in your app, copy/paste and many other shortcut keys simply don't
work)
- added smart time formatting ("X minutes ago", etc.) in lists
using 'moment' library
- added progress information to snapshots
8 lines
167 B
JavaScript
8 lines
167 B
JavaScript
const { dialog } = require("electron");
|
|
|
|
window.selectDirectory = function () {
|
|
return dialog.showOpenDialogSync({
|
|
properties: ['openDirectory']
|
|
});
|
|
}
|