diff --git a/app/config/keymaps.js b/app/config/keymaps.js index bf2ca42a..912ea2c8 100644 --- a/app/config/keymaps.js +++ b/app/config/keymaps.js @@ -21,11 +21,11 @@ const _setCommandsForKeys = function(commands_) { } }; -const _import = function(customsKeys) { +const _import = function(customKeys) { try { const mapping = JSON.parse(readFileSync(defaultPlatformKeyPath())); _setKeysForCommands(mapping); - _setKeysForCommands(customsKeys); + _setKeysForCommands(customKeys); _setCommandsForKeys(commands); return {commands, keys}; @@ -35,12 +35,12 @@ const _import = function(customsKeys) { } }; -const _extend = function(customsKeys) { - if (customsKeys) { - for (const command in customsKeys) { +const _extend = function(customKeys) { + if (customKeys) { + for (const command in customKeys) { if (command) { - commands[command] = normalize(customsKeys[command]); - keys[normalize(customsKeys[command])] = command; + commands[command] = normalize(customKeys[command]); + keys[normalize(customKeys[command])] = command; } } } diff --git a/app/config/paths.js b/app/config/paths.js index f9aebd7a..7987b4ab 100644 --- a/app/config/paths.js +++ b/app/config/paths.js @@ -36,7 +36,7 @@ const plugs = { }; const yarn = resolve(__dirname, '../../bin/yarn-standalone.js'); -const icon = resolve(__dirname, '../static/icon.png'); +const icon = resolve(__dirname, '../static/icon96x96.png'); const keymapPath = resolve(__dirname, '../keymaps'); const darwinKeys = join(keymapPath, 'darwin.json'); diff --git a/app/static/icon96x96.png b/app/static/icon96x96.png new file mode 100644 index 00000000..aff0bf51 Binary files /dev/null and b/app/static/icon96x96.png differ diff --git a/website/index.html b/website/index.html index 7e87e3f0..69bf969c 100644 --- a/website/index.html +++ b/website/index.html @@ -724,6 +724,11 @@
+