n457 / Uncolored

(Un)colored — Next generation desktop rich content editor that saves documents with themes. HTML & Markdown compatible. For Windows, OS X & Linux. — http://n457.github.io/Uncolored/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature suggestion: Snap package for Linux

guillotjulien opened this issue · comments

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 !

commented

Hi @skyeun ,
Understood, I'll do the max to provide a snap package, as it's a possible option of electron-packager :

image

Unfortunately, it's not as easy as it looks in those tools documentations. I had various fonctionnal and graphical issues to create installers for (Un)colored 0.x versions (bugs, approximative docs, etc) 😉

The first time I tried to run (Un)colored directly from sources I got graphicals bugs with the toolbar, nevertheless, the snap package solved all my problems. By the way, if I can help you in whatever things related to Linux packaging, just tell me and I will

The first time I tried to run (Un)colored directly from sources I got graphicals bugs with the toolbar, nevertheless, the snap package solved all my problems. By the way, if I can help you in whatever things related to Linux packaging, just tell me and I'll try to help 🙂