Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.
This repository was archived by the owner on May 29, 2022. It is now read-only.

Add Icon and backdrop in .dext package #14

Description

@sanket143

Note: This issue is reserved for SLoP Contributors.

When packaging using sinix pack, check if sinix.config.js of the project which is using sinix.js contains a path
to icon and backdrop path. If it does add it in the generated .dext.

for sinix.config.js

module.exports = {
  title: "Sinix App",
  distDir: "public/",
  iconSrc: "images/icon.png",
  backdropSrc: "images/wallpapers/01.jpg"
}

following should be the path of icon and backdrop in the .dext pack.

for icon: .sinix/images/icon.png
for backdrop: .sinix/images/wallpapers/01.jpg

and sinix.manifest.json

{
  ...
  "icon": ".sinix/images/icon.png",
  "backdrop": .sinix/images/wallpapers/01.jpg
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions