mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-07 08:42:49 +08:00
🚀 v0.8.2
This commit is contained in:
39
.github/workflows/build.yml
vendored
39
.github/workflows/build.yml
vendored
@@ -3,6 +3,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: "Tag to release"
|
||||||
|
required: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-tauri:
|
publish-tauri:
|
||||||
@@ -18,7 +23,7 @@ jobs:
|
|||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
args: "--target x86_64-apple-darwin"
|
args: "--target x86_64-apple-darwin"
|
||||||
target: "macos-intel"
|
target: "macos-intel"
|
||||||
- platform: macos-latest
|
- platform: macos-15-intel
|
||||||
args: "--target aarch64-apple-darwin"
|
args: "--target aarch64-apple-darwin"
|
||||||
target: "macos-arm"
|
target: "macos-arm"
|
||||||
runs-on: ${{ matrix.settings.platform }}
|
runs-on: ${{ matrix.settings.platform }}
|
||||||
@@ -27,19 +32,16 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
run: |
|
||||||
with:
|
mkdir -p ~/.ssh
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa
|
||||||
- name: Add SSH known hosts
|
chmod 600 ~/.ssh/id_rsa
|
||||||
run: ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
- name: Add Github RSA
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.KNOWN_GITHUB_RSA }}" >> ~/.ssh/known_hosts
|
||||||
|
chmod 644 ~/.ssh/known_hosts
|
||||||
- name: Test SSH connection
|
- name: Test SSH connection
|
||||||
run: ssh -T git@github.com || true
|
run: ssh -T git@github.com || true
|
||||||
- name: Add Rust targets(macOS Intel)
|
|
||||||
if: matrix.settings.target == 'macos-intel'
|
|
||||||
run: rustup target add x86_64-apple-darwin
|
|
||||||
- name: Add Rust targets(macOS ARM)
|
|
||||||
if: matrix.settings.target == 'macos-arm'
|
|
||||||
run: rustup target add aarch64-apple-darwin
|
|
||||||
|
|
||||||
- name: Rust setup
|
- name: Rust setup
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -48,14 +50,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workspaces: "./src-tauri -> target"
|
workspaces: "./src-tauri -> target"
|
||||||
|
|
||||||
|
- name: Add Rust targets(macOS Intel)
|
||||||
|
if: matrix.settings.target == 'macos-intel'
|
||||||
|
run: rustup target add x86_64-apple-darwin
|
||||||
|
- name: Add Rust targets(macOS ARM)
|
||||||
|
if: matrix.settings.target == 'macos-arm'
|
||||||
|
run: rustup target add aarch64-apple-darwin
|
||||||
|
- name: Output toolchain
|
||||||
|
run: rustup show
|
||||||
|
|
||||||
- name: setup node
|
- name: setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 24.2.0
|
node-version: 24.8.0
|
||||||
- name: setup pnpm
|
- name: setup pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
version: 10.15.1
|
version: 10.16.1
|
||||||
- name: Install frontend dependencies
|
- name: Install frontend dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/qodana_code_quality.yml
vendored
4
.github/workflows/qodana_code_quality.yml
vendored
@@ -12,11 +12,11 @@ jobs:
|
|||||||
- name: setup node
|
- name: setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 23.3.0
|
node-version: 24.8.0
|
||||||
- name: setup pnpm
|
- name: setup pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
version: 10.10.0
|
version: 10.16.1
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --no-frozen-lockfile
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: "Qodana Scan"
|
- name: "Qodana Scan"
|
||||||
|
|||||||
78
.github/workflows/test.yml
vendored
78
.github/workflows/test.yml
vendored
@@ -1,78 +0,0 @@
|
|||||||
name: Build Test
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
version:
|
|
||||||
description: "Version to build"
|
|
||||||
required: true
|
|
||||||
default: "0.7.6"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-tauri:
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
settings:
|
|
||||||
- platform: windows-latest
|
|
||||||
args: ""
|
|
||||||
target: "windows"
|
|
||||||
bundlePath: msi/
|
|
||||||
- platform: macos-latest
|
|
||||||
args: "x86_64-apple-darwin"
|
|
||||||
target: "macos-intel"
|
|
||||||
bundlePath: macos/TeyvatGuide.app
|
|
||||||
- platform: macos-latest
|
|
||||||
args: "aarch64-apple-darwin"
|
|
||||||
target: "macos-arm"
|
|
||||||
bundlePath: macos/TeyvatGuide.app
|
|
||||||
runs-on: ${{ matrix.settings.platform }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup SSH
|
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
|
||||||
with:
|
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
- name: Add SSH known hosts
|
|
||||||
run: ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
|
||||||
- name: Test SSH connection
|
|
||||||
run: ssh -T git@github.com || true
|
|
||||||
- name: Rust setup
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
|
|
||||||
- name: Add Rust targets(macOS Intel)
|
|
||||||
if: matrix.settings.target == 'macos-intel'
|
|
||||||
run: rustup target add x86_64-apple-darwin
|
|
||||||
- name: Add Rust targets(macOS ARM)
|
|
||||||
if: matrix.settings.target == 'macos-arm'
|
|
||||||
run: rustup target add aarch64-apple-darwin
|
|
||||||
|
|
||||||
- name: setup node
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 23.3.0
|
|
||||||
- name: setup pnpm
|
|
||||||
uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 10.10.0
|
|
||||||
- name: Install frontend dependencies
|
|
||||||
run: pnpm install
|
|
||||||
- name: Update version
|
|
||||||
run: pnpm upv ${{ github.event.inputs.version }}
|
|
||||||
|
|
||||||
- name: Build app
|
|
||||||
run: pnpm build --target ${{ matrix.settings.args }}
|
|
||||||
if: matrix.settings.args != ''
|
|
||||||
- name: Build app (no target)
|
|
||||||
run: pnpm build
|
|
||||||
if: matrix.settings.args == ''
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: TeyvatGuide_v${{ github.event.inputs.version }}_${{ matrix.settings.target }}
|
|
||||||
path: src-tauri/target/${{ matrix.settings.args }}/release/bundle/${{ matrix.settings.bundlePath }}
|
|
||||||
if-no-files-found: error
|
|
||||||
20
CHANGELOG.md
20
CHANGELOG.md
@@ -2,12 +2,28 @@
|
|||||||
Author: 目棃
|
Author: 目棃
|
||||||
Description: CHANGELOG
|
Description: CHANGELOG
|
||||||
Date: 2025-09-09
|
Date: 2025-09-09
|
||||||
Update: 2025-09-11
|
Update: 2025-09-27
|
||||||
---
|
---
|
||||||
|
|
||||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2025-09-09 14:30:56`
|
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2025-09-09 14:30:56`
|
||||||
>
|
>
|
||||||
> 更新于 `2025-09-11 13:38:00`
|
> 更新于 `2025-09-27 10:18:07`
|
||||||
|
|
||||||
|
## [0.8.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.8.2) (2025-09-27)
|
||||||
|
|
||||||
|
- 🍱 更新元数据
|
||||||
|
- 🐛 修复特定情况下切换角色浮窗异常
|
||||||
|
- ✨ 动态处理游戏卡片组件
|
||||||
|
- 👽️ 适配新版块
|
||||||
|
- 💄 首页卡池组件改成轮播
|
||||||
|
- 💄 调整帖子卡片样式
|
||||||
|
- 💄 调整公告卡片样式
|
||||||
|
- 💄 调整帖子详情页面样式
|
||||||
|
- 💄 优化滚动截屏处理,调整抽奖浮窗UI
|
||||||
|
- 💄 调整成就项浮窗样式
|
||||||
|
- 🚸 隐藏危战刷新后的loading关闭
|
||||||
|
- 🚸 处理话题desc溢出
|
||||||
|
- 🚸 搜索成就时隐藏已有浮窗
|
||||||
|
|
||||||
## [0.8.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.8.1) (2025-09-11)
|
## [0.8.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.8.1) (2025-09-11)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "teyvatguide",
|
"name": "teyvatguide",
|
||||||
"version": "0.8.1",
|
"version": "0.8.2",
|
||||||
"description": "Game Tool for GenshinImpact player",
|
"description": "Game Tool for GenshinImpact player",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@10.16.1",
|
"packageManager": "pnpm@10.16.1",
|
||||||
|
|||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -4,7 +4,7 @@ version = 4
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "TeyvatGuide"
|
name = "TeyvatGuide"
|
||||||
version = "0.8.1"
|
version = "0.8.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "TeyvatGuide"
|
name = "TeyvatGuide"
|
||||||
version = "0.8.1"
|
version = "0.8.2"
|
||||||
description = "Game Tool for Genshin Impact player"
|
description = "Game Tool for Genshin Impact player"
|
||||||
authors = ["BTMuli <bt-muli@outlook.com>"]
|
authors = ["BTMuli <bt-muli@outlook.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "TeyvatGuide",
|
"productName": "TeyvatGuide",
|
||||||
"identifier": "TeyvatGuide",
|
"identifier": "TeyvatGuide",
|
||||||
"version": "0.8.1",
|
"version": "0.8.2",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "pnpm vite:dev",
|
"beforeDevCommand": "pnpm vite:dev",
|
||||||
"beforeBuildCommand": "pnpm vite:build",
|
"beforeBuildCommand": "pnpm vite:build",
|
||||||
|
|||||||
@@ -20,11 +20,13 @@
|
|||||||
/* CardShadow,传入theme参数 */
|
/* CardShadow,传入theme参数 */
|
||||||
@mixin github-card-shadow($theme: "default") {
|
@mixin github-card-shadow($theme: "default") {
|
||||||
@if $theme == "default" {
|
@if $theme == "default" {
|
||||||
box-shadow: #1f23280f 0 1px 1px 0,
|
box-shadow:
|
||||||
#1f23280f 0 1px 3px 0;
|
#1f23280f 0 1px 1px 0,
|
||||||
|
#1f23280f 0 1px 3px 0;
|
||||||
} @else {
|
} @else {
|
||||||
box-shadow: #01040999 0 1px 1px 0,
|
box-shadow:
|
||||||
#01040999 0 1px 3px 0;
|
#01040999 0 1px 1px 0,
|
||||||
|
#01040999 0 1px 3px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user