当前位置: 首页 > news >正文

深圳营销网站有限公司公司网站建设收费

深圳营销网站有限公司,公司网站建设收费,wordpress怎么清楚没用的文件,北京pk10盘制作网站建设这些error的坑#xff0c;肯定是很多人不想看到的#xff0c;我的开源软件PakePlus是使用tauri开发的#xff0c;PakePlus是一个界面化将任何网站打包为轻量级跨平台软件的程序#xff0c;利用Tauri轻松构建轻量级多端桌面应用和多端手机应用#xff0c;为了实现发布的时候… 这些error的坑肯定是很多人不想看到的我的开源软件PakePlus是使用tauri开发的PakePlus是一个界面化将任何网站打包为轻量级跨平台软件的程序利用Tauri轻松构建轻量级多端桌面应用和多端手机应用为了实现发布的时候支持mac的inter芯片和arm芯片还有windows的inter芯片和arm芯片需要编写github action的编译文件build.ymltauri官网支持的并不是很完善需要手动添加额外的平台官方文档GitHub | Tauri 这里记录一下编译的时候报错的解决办法以及一个可以直接复制过去使用的文件。 常见报错 1.没有给x86_64-pc-windows-msvc配置target就会报下面的错 D:\a\PakePlus\PakePlus\src-tauri\target\release\bundle\nsis\PakePlus_0.3.2_x64-setup.exe 86Found release with tag main. 87Deleting existing PakePlus_0.3.2_x64_en-US.msi... 88Uploading PakePlus_0.3.2_x64_en-US.msi... 89Error: Not Found - REST API endpoints for release assets - GitHub Docs 解决办法添加target 2.没有添加target属性还会报这个错 Run rustup target add 4error: error: the following required arguments were not provided: 5 target... 7Usage: rustup target add target... 9For more information, try --help. 因为Install rust target阶段需要安装声明好的依赖没有就会报错 3.没有安装aarch64-pc-windows-msvc依赖导致的 ✓ built in 10.25s 53 Error failed to build app: Target aarch64-pc-windows-msvc is not installed (installed targets: i686-pc-windows-msvc, x86_64-pc-windows-gnu, x86_64-pc-windows-msvc). Please run rustup target add aarch64-pc-windows-msvc. 54 ELIFECYCLE  Command failed with exit code 1. 55Error: Command failed with exit code 1: pnpm tauri build --target aarch64-pc-windows-msvc 要编译生成arm架构的windows安装包就需要这个依赖支持所以需要添加下面的步骤然后配合matrix的平台一起使用 4.在linux系统中安装依赖环境 Reading state information... 30E: Unable to locate package libwebkit2gtk-4.1-dev 31E: Couldnt find any package by glob libwebkit2gtk-4.1-dev 32E: Couldnt find any package by regex libwebkit2gtk-4.1-dev 33Error: Process completed with exit code 100. Sync node version and setup cache 0s install Rust stable 0s Rust cache 0s install frontend dependencies 0s Run tauri-apps/tauri-actionv0 0s Post Run pnpm/action-setupv3 0s Post Setup node 0s Post Run actions/checkoutv4 0s Complete job 0s 需要增加这一步 分享一个直接可以使用的文件 name: Release on:push:tags:- v*workflow_dispatch:inputs:branch:description: Branch to run the workflow onrequired: truedefault: templatejobs:publish-tauri:permissions:contents: writestrategy:fail-fast: falsematrix:include:- platform: macos-latest # for Arm based macs (M1 and above).target: aarch64-apple-darwinargs: --target aarch64-apple-darwin- platform: macos-latest # for Intel based macs.target: x86_64-apple-darwinargs: --target x86_64-apple-darwin- platform: ubuntu-20.04target: x86_64-unknown-linux-gnuargs: - platform: windows-latesttarget: x86_64-pc-windows-msvc- platform: windows-latesttarget: i686-pc-windows-msvc- platform: windows-latesttarget: aarch64-pc-windows-msvcargs: --target aarch64-pc-windows-msvcruns-on: ${{ matrix.platform }}steps:- name: Checkout repositoryuses: actions/checkoutv3- name: Install rust targetrun: rustup target add ${{ matrix.target }}- name: Install dependencies (ubuntu only)if: matrix.platform ubuntu-20.04# You can remove libayatana-appindicator3-dev if you dont use the system tray feature.run: |sudo apt-get updatesudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev- name: Setup nodeuses: actions/setup-nodev4with:node-version: 20- uses: pnpm/action-setupv3with:version: latest# 获取 pnpm 缓存- name: Sync node version and setup cacheuses: actions/setup-nodev4with:node-version: 20cache: pnpm- name: install Rust stableuses: dtolnay/rust-toolchainstable # Set this to dtolnay/rust-toolchainnightlywith:# Those targets are only used on macos runners so its in an if to slightly speed up windows and linux builds.targets: ${{ matrix.platform macos-latest aarch64-apple-darwin,x86_64-apple-darwin || }}- name: Rust cacheuses: swatinem/rust-cachev2with:workspaces: ./src-tauri - target- name: install frontend dependencies# If you dont have beforeBuildCommand configured you may want to build your frontend here too.run: pnpm install # change this to npm or pnpm depending on which one you use.- uses: tauri-apps/tauri-actionv0env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.releaseName: PakePlus v__VERSION__ # tauri-action replaces \_\_VERSION\_\_ with the app version.releaseBody: This is a workflow to help you automate the publishing of your PakePlus project to GitHub Packages.releaseDraft: falseprerelease: falsepublish: trueargs: ${{ matrix.args }}
http://www.dnsts.com.cn/news/199973.html

相关文章:

  • 网站建设带购物车wordpress 文章页404
  • 短视频免费素材网站学校网站制作公司
  • 网站不同江苏建设网站酒店装修合同范本
  • 建设h5网站凡客诚品 正品官网
  • 网站建设网站徒手整形seo自动工具
  • 二手网站设计与建设企业在建设自己网站时
  • 网站建设公司杭州18年网站建设表格
  • 家政公司网站的建设如何设置网站服务器访问权限
  • 网站维护和制作怎么做会计分录优化大师手机版下载
  • 厦门做网站哪家好苏州百度关键词优化
  • 四川建设企业网站平台类网站建设胡方案明细
  • 新浪博客怎么给自己网站做链接开源nodejs wordpress
  • 东莞做网站-南城信科iis系统怎么用wordpress
  • 提供邯郸做wap网站济南网站建设(选 聚搜网络)
  • 网站建设文字教程连环画网页设计教程
  • 网站建设数据库如何建设企业电子商务网站
  • 华为云建站和阿里云建站区别深圳物流公司哪家便宜又好
  • 怎样做中英文网站互联网营销策划
  • 郑州网站制作报价百度风云榜小说排行榜
  • 销售产品网站有哪些新宫网站建设公司
  • 成都大型网站维护公司淘宝电商怎么做
  • 出名的网站建设软件wordpress最漂亮的主题
  • 做移动端网站软件开发企业网址查询
  • 需要一个网站开店铺的流程
  • 中华智能自建代理网站长沙人才市场招聘网最新招聘会
  • 微信公众号和微网站常州网站建设电话
  • 网站初期做几个比较好江西省建设厅网站首页
  • 网站建设与管理名词解释猎豹加速器
  • 义乌网站建设软件开发网店推广分为哪几种类型
  • 常州网站搭建珠海定制网站制作