diff options
author | neauoire <[email protected]> | 2020-02-05 10:32:58 -0500 |
---|---|---|
committer | neauoire <[email protected]> | 2020-02-05 10:32:58 -0500 |
commit | bce64c0cfa827c054300181085de74d9594ece97 (patch) | |
tree | c0c3a1c27c8ee7047916b7c5a02846b52a70556b /desktop | |
parent | e7e401dbb7cdd36d11400339b722cb037dab2c5d (diff) | |
download | Orca-bce64c0cfa827c054300181085de74d9594ece97.tar.gz Orca-bce64c0cfa827c054300181085de74d9594ece97.zip |
Added MANUAL.txt
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/icon.svg | 14 | ||||
-rw-r--r-- | desktop/package.json | 2 | ||||
-rw-r--r-- | desktop/sources/scripts/client.js | 2 | ||||
-rw-r--r-- | desktop/sources/scripts/lib/acels.js | 6 |
4 files changed, 9 insertions, 15 deletions
diff --git a/desktop/icon.svg b/desktop/icon.svg index 481234d..eb3e660 100644 --- a/desktop/icon.svg +++ b/desktop/icon.svg @@ -1,12 +1,6 @@ -<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="width: 300px; height: 300px; stroke: rgb(0, 0, 0); stroke-width: 0; fill: none; stroke-linecap: round;"> +<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="width: 300px; height: 300px; stroke: rgb(0, 0, 0); stroke-width: 0; fill: none; stroke-linecap: round; background:black"> <rect width="300" height="300" style="fill:rgb(0,0,0)" /> - <circle cx="60" cy="60" r="7.5" fill="white"/> - <circle cx="150" cy="60" r="7.5" fill="white"/> - <circle cx="240" cy="60" r="7.5" fill="white"/> - <circle cx="60" cy="150" r="7.5" fill="white"/> - <circle cx="150" cy="150" r="7.5" fill="white"/> - <circle cx="240" cy="150" r="7.5" fill="white"/> - <circle cx="60" cy="240" r="7.5" fill="white"/> - <circle cx="150" cy="240" r="7.5" fill="white"/> - <circle cx="240" cy="240" r="7.5" fill="white"/> + <g transform="translate(8 48) scale(0.675)"> + <path d="M120,60 L120,60 L270,60 A30,30 0 0,1 300,90 L300,90 L300,240 M300,150 A30,30 0 0,1 270,180 L270,180 L150,180 A30,30 0 0,0 120,210 L120,210 L120,240 " style="stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(255, 255, 255); fill: none;"/> + </g> </svg>
\ No newline at end of file diff --git a/desktop/package.json b/desktop/package.json index 1651fa6..42fa34f 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -11,7 +11,7 @@ "build_osx": "electron-packager . Orca --platform=darwin --arch=x64 --out ~/Documents/ --overwrite --icon=icon.icns ; echo 'Built for OSX'", "build_linux": "electron-packager . Orca --platform=linux --arch=x64 --out ~/Documents/ --overwrite --icon=icon.ico ; echo 'Built for LINUX'", "build_win": "electron-packager . Orca --platform=win32 --arch=x64 --out ~/Documents/ --overwrite --icon=icon.ico ; echo 'Built for WIN'", - "add_manual": "cp ../MANUAL.txt ~/Documents/Orca-darwin-x64/MANUAL.txt ; cp ../MANUAL.txt ~/Documents/Orca-linux-x64/MANUAL.txt ; cp ../MANUAL.txt ~/Documents/Orca-win32-x64/MANUAL.txt", + "add_manual": "cp ../resources/MANUAL.txt ~/Documents/Orca-darwin-x64/MANUAL.txt ; cp ../resources/MANUAL.txt ~/Documents/Orca-linux-x64/MANUAL.txt ; cp ../resources/MANUAL.txt ~/Documents/Orca-win32-x64/MANUAL.txt", "build": "npm run clean ; npm run build_osx ; npm run build_linux ; npm run build_win ; npm run add_manual", "push_osx": "~/Applications/butler push ~/Documents/Orca-darwin-x64/ hundredrabbits/orca:osx-64", "push_linux": "~/Applications/butler push ~/Documents/Orca-linux-x64/ hundredrabbits/orca:linux-64", diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js index 525158a..d35a4d0 100644 --- a/desktop/sources/scripts/client.js +++ b/desktop/sources/scripts/client.js @@ -12,7 +12,7 @@ /* global Theme */ function Client () { - this.version = 170 + this.version = 171 this.library = library this.theme = new Theme(this) diff --git a/desktop/sources/scripts/lib/acels.js b/desktop/sources/scripts/lib/acels.js index cc00d61..62f630c 100644 --- a/desktop/sources/scripts/lib/acels.js +++ b/desktop/sources/scripts/lib/acels.js @@ -73,7 +73,7 @@ function Acels (client) { for (const cat in cats) { text += `\n### ${cat}\n\n` for (const item of cats[cat]) { - text += item.accelerator ? `- \`${item.accelerator.replace('`','tilde')}\`: ${item.name}\n` : '' + text += item.accelerator ? `- \`${item.accelerator.replace('`', 'tilde')}\`: ${item.name}\n` : '' } } return text.trim() @@ -106,13 +106,13 @@ function Acels (client) { submenu: [ { label: 'Download Themes', click: () => { require('electron').shell.openExternal('https://github.com/hundredrabbits/Themes') } }, { label: 'Open Theme', click: () => { client.theme.open() } }, - { label: 'Reset Theme', click: () => { client.theme.reset() } } + { label: 'Reset Theme', accelerator: 'CmdOrCtrl+Escape', click: () => { client.theme.reset() } } ] }, { label: 'Fullscreen', accelerator: 'CmdOrCtrl+Enter', click: () => { app.toggleFullscreen() } }, { label: 'Hide', accelerator: 'CmdOrCtrl+H', click: () => { app.toggleVisible() } }, { label: 'Toggle Menubar', accelerator: 'Alt+H', click: () => { app.toggleMenubar() } }, - { label: 'Inspect', accelerator: 'CmdOrCtrl+.', click: () => { app.inspect() } }, + { label: 'Inspect', accelerator: 'CmdOrCtrl+Tab', click: () => { app.inspect() } }, { role: 'quit' } ] }) |