From 0a2545f49d26857a2ef85febaed91bfe4976a263 Mon Sep 17 00:00:00 2001 From: xvw Date: Thu, 14 Dec 2017 14:02:23 +0100 Subject: [PATCH 1/3] Add zip in the gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ede74a3..c8db328 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ elm-stuff node_modules dist/bundle.js qian-darwin-x64 +qian-darwin-x64.zip .tool-versions From db01d164371c92f149e526254472ad894313071e Mon Sep 17 00:00:00 2001 From: xvw Date: Thu, 14 Dec 2017 17:06:01 +0100 Subject: [PATCH 2/3] Change keyboard and add zip in the Makefile --- Makefile | 3 +++ static/js/index.js | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 542b2f0..e721955 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,11 @@ install: npm install app: install build + rm -rf qian-darwin-x64.zip ./node_modules/.bin/electron-packager . qian --overwrite --icon=icon.icns + zip -r qian-darwin-x64.zip qian-darwin-x64 clean: + rm -rf qian-darwin-x64.zip rm -rf node_modules rm -rf elm-stuff diff --git a/static/js/index.js b/static/js/index.js index fde870c..0c5b1d1 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -84,7 +84,7 @@ const template = submenu: [ { label: 'Pred', - accelerator: 'CmdOrCtrl+Left', + accelerator: 'CmdOrCtrl+<', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.historyNavigation.send(true) @@ -93,7 +93,7 @@ const template = }, { label: 'Next', - accelerator: 'CmdOrCtrl+Right', + accelerator: 'CmdOrCtrl+>', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.historyNavigation.send(false) @@ -102,7 +102,7 @@ const template = }, { label: 'Parent', - accelerator: 'CmdOrCtrl+Up', + accelerator: 'CmdOrCtrl+Shift+Space', click: function(item, focusedWindow) { if (focusedWindow) { elmApp.ports.jumpToParent.send(true) From d4490a2709614d29489f4ce9befc864dc2840b82 Mon Sep 17 00:00:00 2001 From: xvw Date: Thu, 14 Dec 2017 17:07:17 +0100 Subject: [PATCH 3/3] Change readme and version --- README.md | 9 +++------ package.json | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3efb7f8..7474c47 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,9 @@ In addition, if a feature seems interesting to implement, let's talk about it in - `Tab` : toggle the focus on the searchbar - `Cmd + Alt + Enter` : Open the current folder in finder - `Cmd + Enter` : Open the current folder in a terminal - -> those shortcuts works only if the search bar does not have the focus - -- `Cmd + Left` : Go on the pred view (if it exists) -- `Cmd + Right` : Go on the next view (if it exists) -- `Cmd + Up` : Go to the parent (if it exists) +- `Cmd + <` : Go on the pred view (if it exists) +- `Cmd + >` : Go on the next view (if it exists) +- `Cmd + Shift + Space` : Go to the parent (if it exists) ## About the search bar diff --git a/package.json b/package.json index 5f1d966..5c807c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qian", - "version": "1.2.0", + "version": "1.2.1", "description": "A small experience", "main": "main.js", "scripts": {