1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-21 21:51:48 +00:00

Windowsに合わせてUI修正(Font/Username/Key input:Command key -> Control key)

This commit is contained in:
Dick Choi
2015-11-17 09:01:25 +09:00
parent 76a031a8c9
commit 1318abd37e
4 changed files with 16 additions and 9 deletions

View File

@@ -7,7 +7,10 @@ import Preferences from 'boost/components/modal/Preferences'
import CreateNewFolder from 'boost/components/modal/CreateNewFolder'
import remote from 'remote'
let userName = remote.getGlobal('process').env.USER
let mainEnv = remote.getGlobal('process').env
let userName = mainEnv.USER != null
? mainEnv.USER
: mainEnv.USERNAME
const BRAND_COLOR = '#18AF90'