diff --git a/ui/.gitignore b/ui/.gitignore index b512c09..5695e9f 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +out/ \ No newline at end of file diff --git a/ui/forge.config.js b/ui/forge.config.js new file mode 100644 index 0000000..9a4060f --- /dev/null +++ b/ui/forge.config.js @@ -0,0 +1,22 @@ +module.exports = { + packagerConfig: {}, + rebuildConfig: {}, + makers: [ + { + name: '@electron-forge/maker-squirrel', + config: {}, + }, + { + name: '@electron-forge/maker-zip', + platforms: ['darwin'], + }, + { + name: '@electron-forge/maker-deb', + config: {}, + }, + { + name: '@electron-forge/maker-rpm', + config: {}, + }, + ], +}; diff --git a/ui/index.html b/ui/index.html index 994262a..77f6557 100644 --- a/ui/index.html +++ b/ui/index.html @@ -73,7 +73,17 @@ console.log(document.activeElement); document.activeElement.click(); } - }) + if(sex3.code === "KeyS" && i+3 < prvnihra.length){ + console.log(i); + i = i+3; + prvnihra[i].focus(); + } + if(sex3.code === "KeyW" && i-3 >= 0){ + console.log(i); + i = i-3; + prvnihra[i].focus(); + } + })