diff --git a/.SRCINFO b/.SRCINFO index 11dec41f10f5a..0e0fd10616142 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = note-gen pkgdesc = A cross-platform Markdown note-taking application with AI integration pkgver = 0.22.1 - pkgrel = 29 + pkgrel = 30 url = https://github.com/codexu/note-gen arch = x86_64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index a91fbd8e4fa5f..98a58515af0ae 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=note-gen _pkgname=note-gen pkgver=0.22.1 -pkgrel=29 +pkgrel=30 pkgdesc="A cross-platform Markdown note-taking application with AI integration" arch=('x86_64') url="https://github.com/codexu/note-gen" @@ -30,12 +30,8 @@ build() { export CARGO_HOME="$srcdir/.cargo" export npm_config_build_from_source=true - # 构建前端 (由Tauri的beforeBuildCommand调用) - pnpm build - - # 构建Tauri应用 - cd src-tauri - cargo build --release + # 构建Tauri应用 (包含前端构建) + pnpm tauri build } package() {