save options

This commit is contained in:
SpikeHD
2022-07-26 20:01:10 -07:00
parent 1ecd38ee9f
commit c64cdababa
2 changed files with 16 additions and 1 deletions

View File

@@ -51,6 +51,10 @@ export interface Configuration {
// Swag stuff
akebi_path?: string
migoto_path?: string
last_extras?: {
migoto: boolean
akebi: boolean
}
}
export async function setConfigOption<K extends keyof Configuration>(key: K, value: Configuration[K]): Promise<void> {