1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-27 12:32:10 +03:00

Fix: save plugins to UserData path for fit portable mode

This commit is contained in:
Cyril Taylor 2020-02-02 16:45:06 +08:00
parent 1d76f6b056
commit d89abde860

View File

@ -21,8 +21,7 @@ if (process.env.TERMINUS_DEV) {
const builtinPluginsPath = process.env.TERMINUS_DEV ? path.dirname(require('electron').remote.app.getAppPath()) : path.join((process as any).resourcesPath, 'builtin-plugins')
const userPluginsPath = path.join(
require('electron').remote.app.getPath('appData'),
'terminus',
require('electron').remote.app.getPath('userData'),
'plugins',
)