-
Notifications
You must be signed in to change notification settings - Fork 10.1k
add linux support #2300
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
add linux support #2300
Conversation
264a1e8 to
e41ed5b
Compare
|
Would be awesome to see an AppImage build from this PR. |
|
This pr include binary for AppImage and deb. |
|
Unfortunately the build currently fails... |
|
On Mac and Windows, it seems like some test taking too much time. On linux, it seems test failed. |
app/src/lib/open-shell.ts
Outdated
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
3be5049 to
6a0be14
Compare
|
This pr replace electron-packager with electron-builder. You can directly build linux binary with npm task. |
|
I know but if they have merged the other PR then it seems like they want to use electron-packager rather than electron-builder. |
|
@gengjiawen please let me know when you'd like me to look at this. I'd like to see if we can leverage the Also, please have a look at shiftkey#1 which is a working build and test setup for Desktop Linux on Travis - I'd like to get those incorporated sooner rather than later, so I might put together a PR for that this week on top of this discussion. |
|
My main consideration switch to
I am not that familar with |
6a0be14 to
b7c71c5
Compare
|
Can you also create a snap? |
|
@shiftkey I am not familiar with the source code, for now I still can't let |
|
@Plasmmer I already made three linux binary type, do you have a strong reason why snap need supported ? |
|
Snap is the future of Ubuntu packages. |
@gengjiawen it looks like For example, the launch test is trying to use the contents of the |
|
But i fix the path in recent commit, maybe it's something else. I need to setup a linux environment in my local machine. |
Yes, you've updated the path. But if |
|
@gengjiawen it is possible to use |
fd8f2ba to
426884a
Compare
|
I think maybe it missing the git directory, but I am wrong. There is something still missing. |
|
I find it, I missed the But I still get no clue why appveyor hanged after |
cbdc427 to
dd1d58a
Compare
|
Is there any status on this pull request? |
|
@gengjiawen apologies for the delay in reviewing this. I'm worried about all of the changes underway here and how they affect the other platforms (currently Appveyor fails on linting, the latest Circle build fails on a unit test, and the Travis integration test fails). Now that we have first-class Travis support for Linux working in #2808, I've been throwing some spare cycles at how easily we can add packaging for whatever platforms we need. I know you are a fan of Here's the package we can generate currently on Travis: I'll outline why I want to continue down this path over this migration to
I can see there's a number of merge conflicts in this PR due to the pace of changes with packages and environment changes, so I want an approach that makes it easier for forks like yours to keep up while we figure out what our official support looks like. If I get these changes reviewed and merged, would they help with the heavy lifting of maintaining your fork of Desktop? |
|
If you have any doubt, just leave this be. I will maintain this when I got time :) |
c4b915e to
a5e33d8
Compare
a5e33d8 to
c7ba680
Compare
|
Closing in favour of #2993 |

Mainly switch to electron-builder. Related binary: https://github.com/gengjiawen/desktop/releases.
Things need to do:
If you want me to make some change, please let me know.