mirror of
https://github.com/TommyFang2077/dsh-desktop.git
synced 2026-08-17 09:06:36 +08:00
Compare commits
3 Commits
16c80dfa45
...
33186b2ef9
| Author | SHA1 | Date | |
|---|---|---|---|
| 33186b2ef9 | |||
| 6a3cd55f88 | |||
| 862382daf6 |
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -130,7 +130,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||||
DSH_DESKTOP_UPDATER_PUBKEY: ${{ secrets.DSH_DESKTOP_UPDATER_PUBKEY }}
|
|
||||||
with:
|
with:
|
||||||
projectPath: .
|
projectPath: .
|
||||||
tagName: v__VERSION__
|
tagName: v__VERSION__
|
||||||
|
|||||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -949,7 +949,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dsh-core"
|
name = "dsh-core"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"dirs",
|
"dirs",
|
||||||
@@ -966,7 +966,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dsh-desktop"
|
name = "dsh-desktop"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arboard",
|
"arboard",
|
||||||
"dsh-core",
|
"dsh-core",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ members = ["crates/dsh-core", "src-tauri"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["TommyFang2077"]
|
authors = ["TommyFang2077"]
|
||||||
|
|||||||
@@ -41,6 +41,11 @@
|
|||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
|
|
||||||
<releases>
|
<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">
|
<release version="0.1.0" date="2026-08-15">
|
||||||
<description>
|
<description>
|
||||||
<p>Tauri shell with an Apple-style title bar, bundled dsh, and on-launch updates.</p>
|
<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 |
@@ -76,7 +76,14 @@ gh auth status >/dev/null
|
|||||||
confirm '现在写入 GITEA_TOKEN 与 Tauri 签名 secrets 吗?' || exit 1
|
confirm '现在写入 GITEA_TOKEN 与 Tauri 签名 secrets 吗?' || exit 1
|
||||||
printf '%s' "$GITEA_TOKEN" | gh secret set GITEA_TOKEN
|
printf '%s' "$GITEA_TOKEN" | gh secret set GITEA_TOKEN
|
||||||
cat "$PRIVATE_KEY_PATH" | gh secret set TAURI_SIGNING_PRIVATE_KEY
|
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
|
if [[ -n "$SIGNING_PASSWORD" ]]; then
|
||||||
printf '%s' "$SIGNING_PASSWORD" | gh secret set TAURI_SIGNING_PRIVATE_KEY_PASSWORD
|
printf '%s' "$SIGNING_PASSWORD" | gh secret set TAURI_SIGNING_PRIVATE_KEY_PASSWORD
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "DeepSeek Harness",
|
"productName": "DeepSeek Harness",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"identifier": "io.github.tommyfang.DshDesktop",
|
"identifier": "io.github.tommyfang.DshDesktop",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../ui"
|
"frontendDist": "../ui"
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
},
|
},
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"updater": {
|
"updater": {
|
||||||
"pubkey": ""
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDM1OEI5NkQwMjJCNkFDODMKUldTRHJMWWkwSmFMTlcza3Vkd1UxclQydm0xOW9MTVNxU1JIckkreWRwc1dMTm1HOVVaMHI1SysK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
|
|||||||
Reference in New Issue
Block a user