3 Commits

Author SHA1 Message Date
33186b2ef9 fix: embed updater pubkey in tauri config 2026-08-16 23:43:30 +08:00
6a3cd55f88 docs: replace README banner with real-product showcase 2026-08-16 23:38:10 +08:00
862382daf6 release: v0.1.1 2026-08-16 23:25:03 +08:00
7 changed files with 18 additions and 7 deletions

View File

@@ -130,7 +130,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
DSH_DESKTOP_UPDATER_PUBKEY: ${{ secrets.DSH_DESKTOP_UPDATER_PUBKEY }}
with:
projectPath: .
tagName: v__VERSION__

4
Cargo.lock generated
View File

@@ -949,7 +949,7 @@ dependencies = [
[[package]]
name = "dsh-core"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"base64 0.22.1",
"dirs",
@@ -966,7 +966,7 @@ dependencies = [
[[package]]
name = "dsh-desktop"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"arboard",
"dsh-core",

View File

@@ -3,7 +3,7 @@ members = ["crates/dsh-core", "src-tauri"]
resolver = "2"
[workspace.package]
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
authors = ["TommyFang2077"]

View File

@@ -41,6 +41,11 @@
<content_rating type="oars-1.1" />
<releases>
<release version="0.1.1" date="2026-08-16">
<description>
<p>Signed in-app updater from the mainland mirror; HTTPS Gitea distribution; Market install warnings for GitHub-only sources.</p>
</description>
</release>
<release version="0.1.0" date="2026-08-15">
<description>
<p>Tauri shell with an Apple-style title bar, bundled dsh, and on-launch updates.</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@@ -76,7 +76,14 @@ gh auth status >/dev/null
confirm '现在写入 GITEA_TOKEN 与 Tauri 签名 secrets 吗?' || exit 1
printf '%s' "$GITEA_TOKEN" | gh secret set GITEA_TOKEN
cat "$PRIVATE_KEY_PATH" | gh secret set TAURI_SIGNING_PRIVATE_KEY
cat "$PUBLIC_KEY_PATH" | gh secret set DSH_DESKTOP_UPDATER_PUBKEY
python3 - "$PUBLIC_KEY_PATH" <<'PY'
import json, pathlib, sys
conf = pathlib.Path("src-tauri/tauri.conf.json")
data = json.loads(conf.read_text(encoding="utf-8"))
data["plugins"]["updater"]["pubkey"] = pathlib.Path(sys.argv[1]).read_text(encoding="utf-8").strip()
conf.write_text(json.dumps(data, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
PY
echo "公钥已写入 src-tauri/tauri.conf.json随仓库提交"
if [[ -n "$SIGNING_PASSWORD" ]]; then
printf '%s' "$SIGNING_PASSWORD" | gh secret set TAURI_SIGNING_PRIVATE_KEY_PASSWORD
fi

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "DeepSeek Harness",
"version": "0.1.0",
"version": "0.1.1",
"identifier": "io.github.tommyfang.DshDesktop",
"build": {
"frontendDist": "../ui"
@@ -17,7 +17,7 @@
},
"plugins": {
"updater": {
"pubkey": ""
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDM1OEI5NkQwMjJCNkFDODMKUldTRHJMWWkwSmFMTlcza3Vkd1UxclQydm0xOW9MTVNxU1JIckkreWRwc1dMTm1HOVVaMHI1SysK"
}
},
"bundle": {