diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dcaffbf..886859f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,6 @@ name: Publish Release on: push: - branches: - - master tags: - v* diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5c63d57a..4bd79723 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -51,7 +51,7 @@ "updater": { "active": true, "dialog": true, - "endpoints": ["https://github.com/BTMuli/Tauri.Genshin/blob/master/latest.json"], + "endpoints": ["https://github.com/BTMuli/Tauri.Genshin/releases/latest/latest.json"], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU5OEE2RkU0QUZCMTMzMUEKUldRYU03R3Y1RytLNlI4bytTRDhpYTNTL2lTOUVZeWQwOTAxNHBock8zY3FrdVliR2kvdHhoN2IK" }, "windows": [