-
Notifications
You must be signed in to change notification settings - Fork 84
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
Build with custom UI #61
Comments
The desktop shell is effectively just a browser - it doesn't read files directly, instead it loads a URL where your UI is hosted. By default it loads You can either change that URL directly and make a separate desktop app build, or run the normal desktop build with an If you want to just test locally, you can run Note that for security reasons, the official server releases will only allow connections from Does that make sense? |
Hey, after some work because I was trying to do the exact same thing, this make sense, and it works ! I have only one question, is there a way to put (or launch) the UI server in local directly when launching the desktop app ? |
If you're not modifying the UI, then you can just run this repo with If you are modifying the UI, you'll need a separate checkout & web server for that anyway, so yes you do need to separately launch that - the desktop app can't know where that is, and in general I try to keep the components independent so far as possible. You could plausibly build a quick script to launch both if you want to though with a few lines of bash to glue everything together with the right paths for your machine. |
Ok thanks 👍. I think it will be the best choice, I was just wandering if there is a less sketchy way to do it... |
PRs for localization support would be very welcome indeed! Feel free to open a issue in the UI if you want to discuss that or if you have any questions at all. |
I have cloned the UI repository and have applied some modifications. How would I go about building the desktop repo using the UI repo? I've tried building the UI repo and putting the dist contents into a UI folder inside the desktop repo but it doesn't recognize it. I've also tried using
start:dev
with a path to the built UI dist and a path to the SRC but It didn't work. I'm onwindows 10
runningNode 17.9.1
.The text was updated successfully, but these errors were encountered: