Skip to content

Commit

Permalink
fix: use data folder on portable app
Browse files Browse the repository at this point in the history
  • Loading branch information
Clem-Fern committed Nov 19, 2023
1 parent 3d83bc6 commit 2be079a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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 ??= ''
process.env.TABBY_CONFIG_DIRECTORY ??= app.getPath('userData')


import 'v8-compile-cache'
import './portable'
import 'source-map-support/register'
import './sentry'
import './lru'
Expand Down

0 comments on commit 2be079a

Please sign in to comment.