Skip to content

Commit 782d71d

Browse files
AWolf81Rokt33r
authored andcommitted
path fix for MacOs
1 parent a0799d1 commit 782d71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/components/MarkdownPreview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ export default class MarkdownPreview extends React.Component {
679679
const theme = consts.THEMES.find(theme => theme.name === name)
680680

681681
return theme
682-
? (win ? theme.path : `../${theme.path}`)
682+
? (win ? theme.path : `${appPath}/${theme.path}`)
683683
: `${appPath}/node_modules/codemirror/theme/elegant.css`
684684
}
685685

0 commit comments

Comments
 (0)