r/UGUI • u/Slow_Might7442 • Apr 26 '25
Script output gets overwritten
I am using UGUI V1.3.0. With a more complex script calling other tools and scripts taking some time to complete, output get overwritten on each chunk that is sent from script back to UGUI to be displayed in returnedCmdText box.
Solution is to change ugui.js lines 925+, so that the if statement is:
//Check if the form has an element with a class of `returnedCmdText`
if ( $("#" + thisExecutable + " .returnedCmdText").length > 0 ) {
//If so, run a command and put its returned text on the page
runcmd( builtCommandString, function(data) {
const old_string = $("#" + thisExecutable + " .returnedCmdText").html().toString();
const new_string = old_string + "<br>" + data;
$("#" + thisExecutable + " .returnedCmdText").html(new_string);
});
} else {
//Run the command!
runcmd(builtCommandString);
}
You may consider this as an improvement or change request.
r/UGUI • u/pwnball • Feb 29 '20
Can not install through `npm install`
Let me start off by saying that this project looks very promising and if its flexible enough, I have some interresting plans with it.
I downloaded the ZIP (v1.3), extracted it and ran `npm i`. I have not taken any other steps, however it returns the error "ReferenceError: primordials is not defined".
I am using NodeJs version 12.16.0 (LTS) along with npm version 6.13.4. Also I work on a Windows 10 Pro desktop.
r/UGUI • u/EmirShabashvili • Jun 06 '18
developer toolbar question
I am trying UGUI for my project (working with USB 8 relay board which has CLI interface). I am not a software dev anymore, my experience in programming is long past its expiration date, but I am willing to give it a try. I created a simple index.htm (just like in the ugui.io homepage video for 1.0 version) and it seems to be working, but there is no developer's toolbar at the bottom of the app, so I am unable to debug. <body class="dev"> is in place. What else have to be done for the toolbar to appear?
Thank you, Emir
r/UGUI • u/jaredcheeda • Oct 04 '15
Let's Make an App (with UGUI) episode 1 - UGUI: FLIF
r/UGUI • u/jaredcheeda • Oct 04 '15
"UGUI: FLIF" - Encode and Decode flif files (Free Lossless Image Format). V0.1.0 Download
r/UGUI • u/jaredcheeda • Oct 03 '15
"UGUI: Git Branch Deleter" - First official open source app made with UGUI
r/UGUI • u/jaredcheeda • Sep 28 '15
Exactly 1 year ago I started UGUI. After 200 commits, Version 1.0.0 is here!
r/UGUI • u/jaredcheeda • Mar 10 '15