custom extensions questions
Hello, atm i work on my own extension and my first question is how are the this.configs works ? i try this here
this.configs = {
tokenapi: {
type: 'string',
name: 'token',
descriptions: '',
value: [
"yourtokenhere"
]
}
};
but this is not working.
my other question is, is it possible to change the color / icon over a extension directly so that i can make myself a state button.
replace type: 'string' with type: 'text' and it should be working:
this.configs = {
tokenapi: {
type: 'text',
name: 'token',
descriptions: '',
value: "yourtokenhere"
}
};
hmm, after adding this
const { dialog } = require('electron');
const { Extension, log, INPUT_METHOD, PLATFORMS } = require('deckboard-kit');
class MyFirstExtension extends Extension {
constructor() {
super();
this.name = 'myextension options';
this.platforms = [PLATFORMS.WINDOWS, PLATFORMS.MAC];
this.configs = {
tokenapi: {
type: 'text',
name: 'token',
descriptions: '',
value: "yourtokenhere"
}
};
this.inputs = [....
The Extension is loading but under configs there is all blank.

i use the 0.3.0 devkit with the newest 1.9.94 Deckboard PC app
ok, after build and install the file, its working looks like the projekt folder in /extension/myproject get cached, is there a way to delete it ?
ok. soo if i use "type: 'text'" then the value get not saved in settings.json or in deckboad it self only array works
second one, if you press save you musst restart the application to get the new value loaded.
This issue is stale because it has been open for 1 year with no activity.
This issue was closed because it has been inactive for 39 days since being marked as stale.