Skip to content

Commit

Permalink
fix: clash.meta file location
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Jul 18, 2023
1 parent f4946d9 commit 2ad2577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/page/current-config/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function ConfigList() {
})

const onOpenConfigClick = useMemoizedFn((editor = 'code') => {
const file = getConfigFile(state.name)
const file = getConfigFile(state.name, state.clashMeta)
launch(
// file
file,
Expand All @@ -32,7 +32,7 @@ export default function ConfigList() {
})

const onOpenInFinder = useMemoizedFn(() => {
const file = getConfigFile(state.name)
const file = getConfigFile(state.name, state.clashMeta)
shell.showItemInFolder(file)
})

Expand Down

0 comments on commit 2ad2577

Please sign in to comment.