From afdc186fd61e74dfbaed2b3eda46e4f021ee33b1 Mon Sep 17 00:00:00 2001 From: dubisdev Date: Mon, 24 Jul 2023 23:54:41 +0200 Subject: [PATCH] feat: configure autoupdater --- package.json | 2 +- src-tauri/tauri.conf.json | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index afe1b3d..ef0496f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pyground", "private": true, - "version": "0.0.0", + "version": "0.0.0-development", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6b5ca5c..38468e4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,6 +14,13 @@ "allowlist": { "all": false }, + "updater": { + "active": true, + "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDdCRTdCRTI0NzVGMkNDQjUKUldTMXpQSjFKTDduZTI2QlhYQU45cWxEMFNVNXVHeWxRdFhKTnBQN3FWTitzSzNzNWhWTXhqa3AK", + "endpoints": [ + "https://github.com/dubisdev/pyground/releases/latest/download/latest.json" + ] + }, "bundle": { "active": true, "identifier": "dev.dubis.pyground", @@ -27,13 +34,12 @@ "icons/icon.ico" ], "targets": [ - "nsis" + "nsis", + "updater" ] }, "windows": [ { - "fullscreen": false, - "resizable": true, "title": "Pyground", "width": 1000, "height": 750