Skip to content

Commit 5139d03

Browse files
committed
set different userdata dir for dev
1 parent 33dd1f0 commit 5139d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/fix-dev-user-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import * as path from 'path'
55
if (process.env.NODE_ENV === 'development') {
66
const pkg = require('../../package.json')
77
const appData = app.getPath('appData')
8-
app.setPath('userData', path.join(appData, pkg.productName))
8+
app.setPath('userData', path.join(appData, pkg.productName + ' dev'))
99
}

0 commit comments

Comments
 (0)