Comments (24)
Ok, gave this a shot also. Like you mentioned, the UI pretty much seems to work. I just ignore the updater screen for now, since I didn't make a proper version file :)
Definitely not as useful as the OSX version without a built-in way to run your app though. The Android setup continually goes wrong for me on both OSX and Ubuntu. I think I have a better idea of how important it is to provide an Android emulator through Deco.
If anyone else wants to follow along, these are the steps I took to get the UI up: https://github.com/devinabbott/deco-ide/blob/linux/linux_install.sh
from deco-ide.
@privateOmega I was obsessed about finally try to use Deco, and when I got my Macbook I found out that Avocode did a pretty darn good job for me anyways π
from deco-ide.
π
from deco-ide.
π π π
from deco-ide.
Someone comment on what sorts of things are needed for this / what made it hard for this to be part of the initial design.
I mean, if this is an electron.io app, it should be simple enough to port - I imagine the hardest bit might be some command line tool wrapping / substitution. Clearly there was some kind of showstopper, right?
from deco-ide.
@Fordi We had to prioritize one thing and do it really well. No showstoppers. But I think it would be a lot more useful if we had built-in Android emulator support first.
@namuol already built it successfully: https://twitter.com/louroboros/status/735569370886217728
A couple minor things to change off the top of my head:
- we shouldn't run any
xcrun
orosascript
- remove iOS devices from simulator list (I guess remove the simulator button entirely, if no Android support before then)
- maybe style the toolbar in a generic linuxy theme
from deco-ide.
I think this could be pulled off with a real iOS device (not simulated). You'd need:
- a pre-compiled, scaffolded application that you can drop the new .js/.plist into.
- a program to sign executables using the user's developer key (Goole tells me that "isign" does this)
- a way to install the signed application on the device (ideviceinstaller should do it)
- and, ideally, a way to start and stop the application on the device. (I don't know how to do this offhand, but the libimobiledevice guys may have figured out the api that xcode uses.)
from deco-ide.
@dunhamsteve This sounds pretty awesome. We already ship a precompiled app with our Mac installer so that if you're building a plain js app you don't need to build/rebuild. Not sure how you'd swap out just a .js file, I don't know how the compiled ios binaries work well enough to comment. The rest seem reasonably legit - although I'm sure it will be a lot of effort to hook everything up.
Supporting iOS on Linux isn't on the roadmap for me or @gdowens. If someone very motivated wants to take it on, we're happy to help and review of course. It does sound very valuable, even if quite a bit of work to get right.
from deco-ide.
Yeah, I don't have a Linux desktop, but I thought it'd be worth sharing how it might be accomplished. Windows might be similar, but I don't know if the libimobiledevice
stuff has been ported to windows.
Regarding the javascript files, I was presuming react-native works by having javascript files sitting next to the executable in the .app
directory tree. I haven't actually looked. If this is the case, you need to re-sign every time the contents of the .app
directory tree changes.
from deco-ide.
@dabbott I think it would be a lot more useful if we had built-in Android emulator support first.
Agreed! See discussion #12
@Fordi I imagine the hardest bit might be some command line tool wrapping / substitution.
See discussion #16
@dunhamsteve I think [iOS support for Linux/Windows] could be pulled off with a real iOS device (not simulated).
It'd probably make sense to open a separate issue for this since it's not really a roadblock for general Linux/Windows support, but would certainly be awesome to have.
from deco-ide.
@namuol so... I haven't tried building for Linux yet myself. I'm downloading an Ubunto VM now and I'll give it a shot.
What have you run into so far that we need to change for this to work?
from deco-ide.
I mainly just needed to copy most of the contents of desktop/deco_unpack_lib
to ~/.config/com.decosoftware.Deco/libs
, and create dummy versions of an executable or two (see #4).
Encouragingly, I didn't need to make any code changes apart from a few console.log
s and some other changes I used to figure out where things were failing.
That said, I only barely got the UI to show up -- there's certainly going to be more OS X-specific code I haven't crossed paths with that'll need to be made a little more general.
from deco-ide.
Its about time the Linux binaries were made available.
from deco-ide.
@solancer we first are making it more extensible to launch an app. Feel free to PR if you want to shorten the timeline on Linux binaries.
from deco-ide.
Anyone currently working on this for Linux and Windows? Would love to contribute and maybe get this out on those platforms.
from deco-ide.
Is there any update on this? really keen to give deco a try
from deco-ide.
any updates guys?
from deco-ide.
@privateOmega I wouldn't say that there is any progress because I actually don't know but I would suggest just working inside Nuclide (Built on Atom) instead. Deco isn't that flawless, I've run it a couple of times on my Mac but it was to unstable to work in for me.
Cheers
from deco-ide.
Is this still in development hell?
from deco-ide.
@jackbillstrom I read about this in an article and something like this would reduce so much effort in designing a React Native App. So i was very interested to see this in action.
from deco-ide.
@jackbillstrom thanks for the pointer :D
from deco-ide.
Guys . Inside the deco_unpack_lib folder . Most Binaries were for Mac Apps . How to run Linux Binaries
from deco-ide.
Any updates on this ?
from deco-ide.
@subashkc I believe nothing has been worked on for Linux support, were you able to get it running?
from deco-ide.
Related Issues (20)
- I can't run it returns require is not defined and Electron is not defined HOT 1
- [URGENT]I CANNOT insert any deco component by using the IDE HOT 3
- Unable to find a destination HOT 1
- error FBSOpenApplicationServiceErrorDomain code=1 HOT 1
- "The task to find simulators took too long"
- components search get nothing HOT 1
- Project record cannot clear
- Is this still active? HOT 1
- Saving project, Deco unresponsive
- Update Failure: The application will now close HOT 1
- Increase font size for the editor HOT 2
- Linux support HOT 1
- Still active project? HOT 7
- Update old Packages and fix some vulnerabilities!
- Readme file out of date.
- Can't run project, node version is wrong? HOT 1
- I can't search component on the leftοΌIDE didn't respond. HOT 1
- React-Native 0.57.0 Broken IDE HOT 5
- How to debug code in DECO IDE
- How to send files to simulator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deco-ide.