Skip to content

feature suggestion: Snap package for Linux  #44

@guillotjulien

Description

@guillotjulien

Hi !

Since I'm using Solus as my main OS, I've thinked that it was a pity not having (Un)colored usable in my system. Nevertheless, Solus, as other OS, now support snap packages since it simplify the distribution/update process. I already know that you are currently working on a brand new version that is why I would love to see a snap package for the next version.

By the way, it's really easy to set up, I've already tried to build one and it work perfectly fine, you just have to modify the package.json as in the following example (just be sure to not write (Un)colored for the name because it's not supported by the snap system:
`
{
"name": "Uncolored",

"version": "0.10.2",
"description": "(Un)colored — Next generation desktop rich content editor.",
"main": "./app/main-process.js",
"build": {
"appId": "com.n457.Uncolored",
"copyright": "Copyright © 2016 n457 / Bertrand Vignaud-Lerouge",
"asar": false,
"compression": "maximum",
"win": {
"target": [
"nsis",
"zip"
]
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
]
},
"dmg": {
"contents": [
{
"x": 448,
"y": 344,
"type": "link",
"path": "/Applications"
},
{
"x": 192,
"y": 344,
"type": "file"
}
]
},
"linux": {
"category": "Office",
"packageCategory": "editors",
"target": [
"snap"
],
"synopsis": "(Un)colored — Next generation desktop rich content editor that saves documents with themes. HTML & Markdown compatible. For Windows, OS X & Linux.",
"desktop": {
"Type": "Application",
"Encoding": "UTF-8",
"Name": "(Un)colored",
"Comment": "Rich content editor",
"Exec": "Uncolored",
"Terminal": false
}
}
},
"scripts": {
"gulp": "gulp",
"dist": "gulp dist"
},
"devDependencies": {
"del": "^2.2.2",
"electron": "~1.7.8",
"electron-builder": "^19.45.4",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-replace": "^0.5.4"
}
}`

Thanks for your work !

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions