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

Add Icon and backdrop in .dext package #14

Open
sanket143 opened this issue Oct 5, 2020 · 0 comments
Open

Add Icon and backdrop in .dext package #14

sanket143 opened this issue Oct 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sanket143
Copy link
Member

sanket143 commented Oct 5, 2020

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
}
@sanket143 sanket143 added enhancement New feature or request SLoP-150 labels Oct 5, 2020
@sanket143 sanket143 removed the SLoP-150 label Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant