Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature suggestion: Snap package for Linux #44

Open
guillotjulien opened this issue May 12, 2018 · 3 comments
Open

feature suggestion: Snap package for Linux #44

guillotjulien opened this issue May 12, 2018 · 3 comments

Comments

@guillotjulien
Copy link

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 !

@n457
Copy link
Owner

n457 commented May 20, 2018

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) 😉

@guillotjulien
Copy link
Author

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

@guillotjulien
Copy link
Author

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 🙂

@guillotjulien guillotjulien reopened this May 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants