-
Notifications
You must be signed in to change notification settings - Fork 0
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
Building Electric Drummer for Linux #18
Comments
This is the command I use to build E/D for the Mac.
I assume I want to change the platform value. What to change it to? I am looking for a list of possible platforms and coming up empty. Should I just try it replacing "darwin" with "linux"? |
I did try it, and sheeeeet it seems to have worked! :-) Here's what the app said.
|
@emk -- which version would you like to try? In the meantime I'm going to try to get Ubuntu running under VM Ware again. This is kind of exciting! :-) |
If you want another Linux tester, I can help. I've got a spare notebook running ubuntu somewhere... 😄 |
@scotthansonde -- that'd be great. which version should i provide for you? |
@scripting x64, thanks! |
Just a quick mention for anyone that has a Chromebook (I know Dave recently got one): Chromebooks can run a persistent Debian client instance with CLI. And any GUI apps you install to that instance will run on your Chromebook in their own window. You’ll find the option to enable this in your Settings, under Advanced, Developer. I’ve been covering this feature (and using it heavily!) for about 3 years. |
@scotthansonde -- I've been trying to upload it for an hour and it's not working. I think my ISP is having problems. I'll post a link here when it's available. Oy. ;-) |
@scotthansonde & @emk -- here's the Linux download. https://s3.amazonaws.com/scripting.com/publicfolder/downloads/electricDrummer-linux-x64.zip |
Thank you! This is great. I downloaded it, set it as executable, and tried to run it.
This looks like electron/electron#25440. This looks like it's the only library error of this type, too:
So we're probably really close, because this is a known Electron packaging issue on Linux. I could maybe help dig into this later. |
I tried making a Hello World Electron app on my Mac for Linux. After some false starts, I remembered that for Linux that you can't just copy over the executable file, but also the shared libraries and other resources that are needed. The electron-packager README mentions some Linux package creators at the bottom. I tried electron-installer-debian, since Ubuntu uses .deb packages. After a couple of tries I was able to create a deb package for my Hello World, which I copied over to my Linux instance, installed with with |
I've put my project at https://github.com/scotthansonde/sample-electron-app |
@scotthansonde -- thank you for picking up the ball on this. I want to work on a different project today, but after that I'll swing back around to this. Here's a question, if I uploaded to a private github repo the contents of my electron folder, would you attempt to build Electric Drummer for Linux? That might be a sensible way to proceed since you're already dug in on this. |
@scripting Yes, I'm willing to try that. |
@scotthansonde -- i've created the repo and added you as a collaborator. |
@kevinctofel -- I'm using the Chromebook now, and looking in Settings/Advanced/Developer, but don't see anything about enabling GUI apps. Here's a screen shot. |
Another example where I explained how to install LibreOffice for Linux on a Chromebook: https://www.aboutchromebooks.com/news/how-to-install-libreoffice-for-linux-on-a-chromebook-after-downloading-it-as-a-tar-gz-file/ Once installed, the LibreOffice GUI app opens up automatically when run. |
@kevinctofel -- aha -- yes I have been to the Terminal app. You didn't say that part. Your initial comment implied that turning on the GUI apps was done in the Advanced panel. |
@scripting apologies! Yeah, there's nothing to "enable" for Linux GUI apps. Just install 'em and run 'em. 😎 If you're curious about how this works under the hood, here's the Chromium dev documentation: https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md |
As long as @emk is here, let's figure out how this works.
I don't have a Linux with a GUI to test it on, so he'll have to do the testing.
I am using electron-package to build the Mac version.
https://github.com/electron/electron-packager
Now to figure out how to do a Linux build.
The text was updated successfully, but these errors were encountered: