mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
path fix for MacOs
This commit is contained in:
@@ -679,7 +679,7 @@ export default class MarkdownPreview extends React.Component {
|
|||||||
const theme = consts.THEMES.find(theme => theme.name === name)
|
const theme = consts.THEMES.find(theme => theme.name === name)
|
||||||
|
|
||||||
return theme
|
return theme
|
||||||
? (win ? theme.path : `../${theme.path}`)
|
? (win ? theme.path : `${appPath}/${theme.path}`)
|
||||||
: `${appPath}/node_modules/codemirror/theme/elegant.css`
|
: `${appPath}/node_modules/codemirror/theme/elegant.css`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user