TeleIO / Telemachus-1

MIT License
34 stars 19 forks source link

UI Separation from backend #57

Open dsolmann opened 4 years ago

dsolmann commented 4 years ago

Sub issue: usable API to acquire UI's files and serve them.

sidrus commented 4 years ago

What are your thoughts on how we grab the UI? Do we want to just it as part of the post-build process and bundle that with the API or did you envision something else?

dsolmann commented 4 years ago

We could use something like this. For example, we have our mod folder (Telemachus). We can create there subfolder WebData and put there our default UI. For Houston & MKON we can create additional mods and distribute them just like any other mod.

dsolmann commented 4 years ago

As for metadata file, I think should do smth like this:

<?xml version="1.0" encoding="utf-8"?>
<config>
  <string name="MODNAME">Houston</string>
  <string name="PROPOSED_URL">houston</string>
</config>

in web_config.xml (located in WebData folder)