WebUI Contribution Standard #277
hassandraga
started this conversation in
General
Replies: 1 comment
-
|
Thank you very much this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WebUI Contribution Standard
Binaries
readmeto download the trusted binariesa. Method 1: Using GitHub Action to download and inject the trusted binaries in the package, then publish it
b. Method 2: The wrapper runs the
bootstrap.shandbootstrap.batat runtimes to download the trusted binariesc. Method 3: The wrapper uses the available built-in APIs to download the trusted binaries
.zipand extract itCode
a. For example,
webui_exitshould NOT be implemented as.exitAppor.ExitProgram, but instead, it should be.exitor.Exitb. All global APIs like
.exitshould be under thewebui.xxobject, while window APIs should be undermyWindow.xxobjectc. Any extra feature added to the wrapper should have its OWN dedicated API. For example, WebUI does not support JSON at all, so a wrapper with JSON support should be
.scriptJSONor any similar name while keeping.scriptpure as the original WebUI core APIExamples
wbut should use complete keyword names likemyWindowor similar to help the new users understand the code. Examples are not a production release product but a showcase of how WebUI worksDocumentation
License
MIT LicenseBeta Was this translation helpful? Give feedback.
All reactions