mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 05:15:59 +00:00
archive folder supports links
This commit is contained in:
@@ -19,6 +19,7 @@ import './recentDatabaseSwitch';
|
||||
import hasPermission from '../utility/hasPermission';
|
||||
import _ from 'lodash';
|
||||
import { findEngineDriver } from 'dbgate-tools';
|
||||
import { openArchiveFolder } from '../utility/openArchiveFolder';
|
||||
|
||||
const electron = getElectron();
|
||||
|
||||
@@ -213,6 +214,13 @@ if (electron) {
|
||||
keyText: 'Ctrl+O',
|
||||
onClick: openElectronFile,
|
||||
});
|
||||
|
||||
registerCommand({
|
||||
id: 'file.openArchive',
|
||||
category: 'File',
|
||||
name: 'Open DB Model/Archive',
|
||||
onClick: openArchiveFolder,
|
||||
});
|
||||
}
|
||||
|
||||
registerCommand({
|
||||
|
||||
Reference in New Issue
Block a user