copyright: Copyright © 2021 SUSE productName: Rancher Desktop icon: ./resources/icons/logo-square-512.png appId: io.rancherdesktop.app asar: true extraResources: - resources/ - '!resources/darwin/lima-*.tgz' - '!resources/linux/lima-*.tar.gz' - '!resources/linux/misc/*.in' files: - dist/app/**/* mac: entitlements: "build/entitlements.mac.plist" entitlementsInherit: "build/entitlements.mac.inherit.plist" darkModeSupport: true hardenedRuntime: true gatekeeperAssess: false extendInfo: NSCameraUsageDescription: ~ NSMicrophoneUsageDescription: ~ icon: ./resources/icons/mac-icon.png target: [ dmg, zip ] afterSign: "scripts/notarize.js" win: target: [ nsis, zip ] signingHashAlgorithms: [ sha256 ] # We only support Windows 10 + WSL2 requestedExecutionLevel: asInvoker # The _app_ doesn't need privileges linux: category: Utility executableName: rancher-desktop icon: ./resources/icons/linux synopsis: Kubernetes and container management on the desktop description: Rancher Desktop is an open-source project to bring Kubernetes and container management to the desktop target: [ flatpak, tar.gz, rpm, deb ] nsis: license: LICENSE include: build/installer.nsh oneClick: false # Needed for restart prompt publish: provider: custom upgradeServer: https://desktop.version.rancher.io/v1/checkupgrade vPrefixedTagName: true flatpak: license: LICENSE base: org.electronjs.Electron2.BaseApp baseVersion: "21.08" runtime: org.freedesktop.Platform runtimeVersion: "21.08" sdk: org.freedesktop.Sdk branch: main useWaylandFlags: false finishArgs: - --filesystem=xdg-config/rancher-desktop:create - --filesystem=xdg-cache/rancher-desktop:create - --filesystem=xdg-data/rancher-desktop:create - --filesystem=~/.kube:create - --filesystem=~/.kuberlr:create - --filesystem=~/.local/bin:create - --device=kvm - --device=dri - --share=ipc - --socket=x11 - --socket=wayland - --share=network - --talk-name=org.freedesktop.Notifications # Is it really needed? - --own-name=org.kde.* # Fixes Tray in KDE (https://github.com/flathub/im.riot.Riot/issues/100) files: - ["dist/linux-unpacked/resources/resources/linux/misc/io.rancherdesktop.app.appdata.xml", "/share/metainfo/io.rancherdesktop.app.appdata.xml"] modules: - name: qemu config-opts: - "--disable-user" - "--enable-kvm" - "--target-list=x86_64-softmmu" sources: - type: archive url: https://download.qemu.org/qemu-6.1.0.tar.xz sha256: eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96 rpm: depends: - qemu fpm: # Make sure not /usr/lib/.build-id artifacts are created # This config is likely to be missing in non RPM based hosts - --rpm-rpmbuild-define=_build_id_links none deb: depends: - qemu-utils - qemu-system-x86