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:
parent
1d76f6b056
commit
d89abde860
@ -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',
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user