

























The problem is the .gitignore file in the package, it is preventing tauri from finding its configuration file. My solution was adding another sed patch:
# Make sure tauri finds its config file
sed -i '/"scripts": {/,/}/{/"tauri":/s/: "tauri"/: "cd src-tauri \&\& tauri"/}' "$_pkgsrc/package.json"
This enters the src-tauri folder when running npm run tauri and then tauri can discover its config file in that folder without attempting to look through git, which will fail.
Currently fails during build(): Couldn't recognize the current folder as a Tauri project.
@xiota Thank you very much! Sorry for my inactivity.
I've tried multiple times and I can't get v3 to build :(
@xiota Thank you for the comment.
I downgraded to 2.26.2, new versions fail to build.
@creyon Whoops, it should be fixed now. Thanks.
This doesn't package correctly, because the .desktop file is in the wrong directory [src] - it should be moved into the src/FlightCore directory, or the reference to it in the PKGBUILD file should be changed.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@Hroi Finally, a fix. Thank you!