diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index c7370177..d054859f 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -63,6 +63,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: projectPath: './Slopify' + includeUpdaterJson: true tagName: app-v__VERSION__ releaseName: 'App v__VERSION__' releaseBody: 'See the assets to download this version and install.' diff --git a/Slopify/.gitignore b/Slopify/.gitignore index a547bf36..5e9edb1d 100644 --- a/Slopify/.gitignore +++ b/Slopify/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +env diff --git a/Slopify/src-tauri/.gitignore b/Slopify/src-tauri/.gitignore index b21bd681..2d2919a7 100644 --- a/Slopify/src-tauri/.gitignore +++ b/Slopify/src-tauri/.gitignore @@ -5,3 +5,4 @@ # Generated by Tauri # will have schema files for capabilities auto-completion /gen/schemas +env diff --git a/Slopify/src-tauri/tauri.conf.json b/Slopify/src-tauri/tauri.conf.json index 9bf5f45a..775e6c51 100644 --- a/Slopify/src-tauri/tauri.conf.json +++ b/Slopify/src-tauri/tauri.conf.json @@ -24,6 +24,7 @@ } }, "bundle": { + "createUpdaterArtifacts": true, "active": true, "targets": "all", "icon": [ @@ -33,5 +34,16 @@ "icons/icon.icns", "icons/icon.ico" ] + }, + "plugins": { + "updater": { + "windows": { + "installMode": "passive" + }, + "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQwNzBCNUYxNUMwQTJDNDYKUldSR0xBcGM4YlZ3UU55WnFKSU1zM3JOUHUwTE5VbnhmRFo0NzhoTzJiMXcwQ0hxOS8xdHdSSzcK", + "endpoints": [ + "https://github.com/DishpitDev/Slopify/repo/releases/latest/download/latest.json" + ] + } } }