mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🚀 v0.9.4
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
VITE_SENTRY_RELEASE=TeyvatGuide@0.9.3
|
||||
VITE_COMMIT_HASH=1eb36bd6
|
||||
VITE_BUILD_TIME=1768798003
|
||||
VITE_SENTRY_RELEASE=TeyvatGuide@0.9.4
|
||||
VITE_COMMIT_HASH=f62e13a2
|
||||
VITE_BUILD_TIME=1769017229
|
||||
|
||||
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -45,12 +45,6 @@ jobs:
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
- name: Test SSH connection
|
||||
run: ssh -T git@github.com || true
|
||||
- name: Load env.production
|
||||
id: env
|
||||
if: matrix.settings.target == 'windows'
|
||||
run: |
|
||||
$VITE_SENTRY_RELEASE = Get-Content .env.production | Where-Object { $_ -match '^VITE_SENTRY_RELEASE=' } | ForEach-Object { ($_ -split '=')[1] }
|
||||
"VITE_SENTRY_RELEASE=$VITE_SENTRY_RELEASE" >> $env:GITHUB_OUTPUT
|
||||
- name: Rust setup
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Rust cache
|
||||
@@ -100,15 +94,3 @@ jobs:
|
||||
</a>
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Sentry Pdb
|
||||
if: matrix.settings.target == 'windows'
|
||||
# TODO:调整 script
|
||||
run: |
|
||||
echo "Uploading release: $SENTRY_RELEASE"
|
||||
sentry-cli releases new "$SENTRY_RELEASE"
|
||||
sentry-cli debug-files upload --include-sources src-tauri/src src-tauri/target/release/TeyvatGuide.pdb
|
||||
sentry-cli releases finalize "$SENTRY_RELEASE"
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_RELEASE: ${{ steps.env.outputs.VITE_SENTRY_RELEASE }}
|
||||
|
||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -2,12 +2,18 @@
|
||||
Author: 目棃
|
||||
Description: CHANGELOG
|
||||
Date: 2025-09-09
|
||||
Update: 2026-01-19
|
||||
Update: 2026-01-22
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2025-09-09 14:30:56`
|
||||
>
|
||||
> 更新于 `2026-01-19 12:43:24`
|
||||
> 更新于 `2026-01-22 01:28:01`
|
||||
|
||||
## [0.9.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.4) (2025-01-22)
|
||||
|
||||
- 🐛 修复`msi`版本导入`dll`调用路径异常,捕获`dll`路径异常错误
|
||||
- 🎨 调整商店版本`dll`检测逻辑,存在时不复制
|
||||
- 🚸 调整导入相关提示文本
|
||||
|
||||
## [0.9.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.9.3) (2025-01-19)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "teyvatguide",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"description": "Game Tool for GenshinImpact player",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.28.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 本地构建脚本
|
||||
* @since Beta v0.9.1
|
||||
* @since Beta v0.9.4
|
||||
*/
|
||||
import { resolve } from "path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
@@ -25,6 +25,9 @@ console.log(`🍄 SkipUpload:${skipUpload}`);
|
||||
|
||||
// 获取提交哈希
|
||||
const commitHash = execSync("git rev-parse --short HEAD").toString().trim();
|
||||
// 获取构建平台
|
||||
const platform = process.platform;
|
||||
console.log(`🖥️ Build platform: ${platform}`);
|
||||
|
||||
// 构建 Release 字符串
|
||||
const release = `TeyvatGuide@${pkgVersion}`;
|
||||
@@ -52,7 +55,7 @@ if (isGitHubActions) {
|
||||
}
|
||||
process.exit();
|
||||
}
|
||||
if (skipUpload || isGitHubActions) process.exit();
|
||||
if (skipUpload || platform !== "win32") process.exit();
|
||||
const pdbGlob = "src-tauri/target/release/TeyvatGuide.pdb";
|
||||
try {
|
||||
console.log(`📦 Uploading PDBs from ${pdbGlob}...`);
|
||||
@@ -62,11 +65,13 @@ try {
|
||||
});
|
||||
console.log("✅ PDB upload complete!");
|
||||
const distDir = resolve(__dirname, "../dist");
|
||||
if (!isGitHubActions) {
|
||||
execSync(
|
||||
`sentry-cli sourcemaps upload -r "${release}" "${distDir}" --rewrite --url-prefix "~/"`,
|
||||
{ stdio: "inherit" },
|
||||
);
|
||||
console.log("✅ Frontend sourcemaps upload complete!");
|
||||
}
|
||||
execSync(`sentry-cli releases finalize "${release}"`, { stdio: "inherit" });
|
||||
console.log("🎉 Sentry release finalized!");
|
||||
} catch (err) {
|
||||
|
||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -10,7 +10,7 @@ checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
|
||||
|
||||
[[package]]
|
||||
name = "TeyvatGuide"
|
||||
version = "0.9.3"
|
||||
version = "0.9.4"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"image",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "TeyvatGuide"
|
||||
version = "0.9.3"
|
||||
version = "0.9.4"
|
||||
description = "Game Tool for Genshin Impact player"
|
||||
authors = ["BTMuli <bt-muli@outlook.com>"]
|
||||
license = "MIT"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "TeyvatGuide",
|
||||
"identifier": "TeyvatGuide",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm vite:dev",
|
||||
"beforeBuildCommand": "pnpm vite:build",
|
||||
|
||||
Reference in New Issue
Block a user