mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 08:57:21 +00:00
fix: use data folder on portable app
This commit is contained in:
parent
3d83bc6e4e
commit
2be079a51b
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
import { app, ipcMain, Menu, dialog } from 'electron'
|
||||
|
||||
// set userData Path on portable version
|
||||
import './portable'
|
||||
|
||||
// set defaults of environment variables
|
||||
import 'dotenv/config'
|
||||
process.env.TABBY_PLUGINS ??= ''
|
||||
|
@ -7,7 +10,6 @@ process.env.TABBY_CONFIG_DIRECTORY ??= app.getPath('userData')
|
|||
|
||||
|
||||
import 'v8-compile-cache'
|
||||
import './portable'
|
||||
import 'source-map-support/register'
|
||||
import './sentry'
|
||||
import './lru'
|
||||
|
|
Loading…
Reference in a new issue