dsh-wb-desk 0.1.2 → 0.1.3
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.
- package/CHANGELOG.md +6 -0
- package/client.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/client.js
CHANGED
|
@@ -938,6 +938,7 @@ window.__ModuleLoader__.load({
|
|
|
938
938
|
: menu.kind === 'artifact'
|
|
939
939
|
? [
|
|
940
940
|
item('打开', () => { setMenu(null); openDrawer(node.path, node.abs) }, false, Icon.doc(15)),
|
|
941
|
+
item('打开所在文件夹', () => { setMenu(null); openExternal(node.path, !!node.abs, 'folder') }, false, Icon.folder(15)),
|
|
941
942
|
item('复制路径', () => { copyText(node.path, '路径已复制'); setMenu(null) }, false, Icon.copy(15)),
|
|
942
943
|
item('上传到云端', () => { setMenu(null); uploadToCloud(node.path, node.abs) }, false, Icon.upload(15)),
|
|
943
944
|
item('添加到任务', () => { setMenu(null); addToTask(node.path, node.abs) }, false, Icon.task(15)),
|
|
@@ -946,6 +947,7 @@ window.__ModuleLoader__.load({
|
|
|
946
947
|
: [
|
|
947
948
|
!isDir && item('打开', () => { setMenu(null); overlay ? openDrawer(node.path) : openFile(node.path) }),
|
|
948
949
|
isDir && item('打开文件夹', () => { setCwd(node.path); setSection('files'); setMenu(null) }),
|
|
950
|
+
!isDir && item('打开所在文件夹', () => { setMenu(null); openExternal(node.path, false, 'folder') }, false, Icon.folder(15)),
|
|
949
951
|
item('重命名', () => startRename(node)),
|
|
950
952
|
item('复制路径', () => { copyText(node.path, '路径已复制'); setMenu(null) }, false, Icon.copy(15)),
|
|
951
953
|
!isDir && item('上传到云端', () => { setMenu(null); uploadToCloud(node.path, false) }, false, Icon.upload(15)),
|