Skip to content

关于linux没有安装包的问题 #76

@arcsin1

Description

@arcsin1

目前因为电脑用的是mac

打不出来linux的包

你需要自行在linux上编译

先要改造 electron-builder.yml 文件

找到linux改为

linux:
  target:
    - target: AppImage
      arch:
        - x64
        - arm64
    - target: deb
      arch:
        - x64
        - arm64
    - target: rpm
      arch:
        - x64
        - arm64
  executableName: ohmyppt
  icon: build/icons
  maintainer: arcsin1
  category: Utility
appImage:
  artifactName: ${name}-${version}-${arch}.${ext}
deb:
  artifactName: ${name}-${version}-${arch}.${ext}
rpm:
  artifactName: ${name}-${version}-${arch}.${ext}

改造好了执行

pnpm run build: linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions