summaryrefslogtreecommitdiff
path: root/src/main/manaplus/update/updater.interface.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/manaplus/update/updater.interface.ts')
-rw-r--r--src/main/manaplus/update/updater.interface.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/manaplus/update/updater.interface.ts b/src/main/manaplus/update/updater.interface.ts
new file mode 100644
index 0000000..1524649
--- /dev/null
+++ b/src/main/manaplus/update/updater.interface.ts
@@ -0,0 +1,6 @@
+export default interface ManaUpdater {
+ constructor():void,
+ updateAvailible():Promise<{isNewVersion:boolean, newestVersion:string}>,
+ update():Promise<any>,
+ reinstall():Promise<any>
+}