Skip to content

Commit 173a7d0

Browse files
author
onblog
committedJul 11, 2020
完善自定义快捷键
1 parent a82b39a commit 173a7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/shortcutkey/app-shortcutkey.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const fs = require('fs')
55
const Path = require('path')
66
const OS = require('os')
77
const configPath = Path.join(OS.homedir(), app.name, 'ShortcutKey.json')
8-
const helpFile = Path.join(OS.homedir(), app.name, 'shortcutKey-help.md')
8+
const helpFile = Path.join(OS.tmpdir(), 'shortcutKey-help.md')
99

1010
function initConfigFile() {
1111
if (!fs.existsSync(configPath)) {

0 commit comments

Comments
 (0)
Failed to load comments.