1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

path fix for MacOs

This commit is contained in:
AWolf81
2019-05-31 01:40:15 -07:00
committed by Junyoung Choi
parent a0799d19f8
commit 782d71ddb0

View File

@@ -679,7 +679,7 @@ export default class MarkdownPreview extends React.Component {
const theme = consts.THEMES.find(theme => theme.name === name)
return theme
? (win ? theme.path : `../${theme.path}`)
? (win ? theme.path : `${appPath}/${theme.path}`)
: `${appPath}/node_modules/codemirror/theme/elegant.css`
}