update comments and license

main
HerrHase 2 years ago
parent 8fe9046022
commit f31602b4fb

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2021 Neutralinojs and contributors Copyright (c) 2022 Björn Hase <me@herr-hase.wtf>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

@ -1,12 +1,13 @@
# Potato launcher # Potato launcher
I know there a many Launcher on the Market, and they are all damn Beautiful, this There a many Launchers for Desktops and they are all fancy. But this one
App is not Beautiful, it's only starts App, it is really simple, no fancy dancy Functions. is damn simple, no fancy dancy functions only add Apps from your file
system or commands, add a image or not.
And it is not finish! This Launcher use Electron, Riotjs, Plain-UI and Pouchdb.
## Next Goals ## Next Goals
* Change Format of Images * Change Format of Images
* Adding Function to Filter Results * Keyboard- and Controller-Support for navigation
* Keyboard- and Controller-Control * Kiosk-Modus

@ -3,7 +3,7 @@ import AppsStore from './apps.js'
import tagsStore from './../stores/tags.js' import tagsStore from './../stores/tags.js'
/** /**
* apps * tags
* *
* @author Björn Hase * @author Björn Hase
* @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3 * @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3
@ -22,12 +22,13 @@ class TagsDatabase extends DatabaseHandler {
} }
/** /**
* * adding new tags, if tags are already
* exists skip tag
* *
* @param {object} data * @param {object} data
* *
*/ */
async update(tags) { update(tags) {
const query = { const query = {
'selector': { 'selector': {
@ -52,7 +53,7 @@ class TagsDatabase extends DatabaseHandler {
'name': tags[i] 'name': tags[i]
}).then(() => { }).then(() => {
// last tag, then remove // last tag, then check for remove
if (i === (tags.length - 1)) { if (i === (tags.length - 1)) {
this.removeNotNeeded() this.removeNotNeeded()
} }
@ -63,6 +64,8 @@ class TagsDatabase extends DatabaseHandler {
} }
/** /**
* search for tags in apps and remove
* tags that not longer exists in apps
* *
* *
*/ */
@ -138,8 +141,7 @@ class TagsDatabase extends DatabaseHandler {
/** /**
* find apps * find apps
* *
* * @return {array}
* @return
* *
*/ */
find() { find() {

@ -1,5 +1,5 @@
/** /**
* * Store for tags
* *
* @author Björn Hase * @author Björn Hase
* @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3 * @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3
@ -13,7 +13,7 @@ import observable from '@riotjs/observable'
export default observable({ export default observable({
/** /**
* getting all apps * get all tags
* *
*/ */
get() { get() {

Loading…
Cancel
Save