mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-02 20:11:08 -08:00
fix: wiki template path in dist build
This commit is contained in:
parent
d67cf2df45
commit
e55b7db39a
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ const REACT_PATH = isDev
|
|||
// .app/Contents/Resources/wiki/
|
||||
const TIDDLYWIKI_FOLDER_PATH = isDev
|
||||
? path.resolve(__dirname, '..', '..', 'template', 'wiki')
|
||||
: path.resolve(process.resourcesPath, 'wiki');
|
||||
: path.resolve(process.resourcesPath, '..', 'wiki');
|
||||
const ICON_PATH = isDev
|
||||
? path.resolve(__dirname, '..', 'icon.png')
|
||||
: `file://${path.resolve(__dirname, '..', 'icon.png')}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue