Skip to content

Snap - command.sh does not exist #2661

@janekolszak

Description

@janekolszak

electron-builder: 20.2.0
target: linux, snap

When I push with snapcraft push the snap gets rejected with:

The store was unable to accept this snap.
  - command.sh does not exist

Config:

  "build": {
    "appId": "com.worktimeassistant.desktop",
    "files": [
      "app/**/*",
      "node_modules/**/*",
      "package.json"
    ],
    "directories": {
      "buildResources": "resources"
    },
    "win": {
      "target": [
        "appx"
      ]
    },
    "appx": {
      "displayName": "Work Time Assistant",
      "publisherDisplayName": "Work Time Assistant"
    },
    "deb": {
      "synopsis": "Work Time Assistant Desktop Application",
      "compression": "xz",
      "priority": "optional"
    },
    "linux": {
      "category": "Office",
      "packageCategory": "GNOME;GTK;Utility;",
      "target": [
        "snap"
      ],
      "desktop": {
        "Name": "Work Time Assistant",
        "Type": "Application",
        "Categories": "GNOME;GTK;Utility;"
      }
    },
    "snap": {
      "stagePackages": [
        "default",
        "libsecret-1-0"
      ],
      "plugs": [
        "default",
        "password-manager-service"
      ]
    },
    "publish": null
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions