Maximize Workplace within its frame and add versioned Design Studio
This commit is contained in:
@@ -276,7 +276,7 @@ async function start(e,data){
|
||||
// CheerpJ Library Mode context and main(). When off, retain the old classpath.
|
||||
const cp=(sysparamPatchEnabled ? SYSPARAM_PATCH_JAR+':' : '')
|
||||
+manifest.paths.join(':')+(isWorkplace
|
||||
? ':'+JSONP_PROVIDER_JAR+':'+JAAS_BRIDGE_JAR+':'+BRIDGE_JAR : '');
|
||||
? ':'+JSONP_PROVIDER_JAR+':'+JAAS_BRIDGE_JAR+':/app/backend/hmi/cheerpj/workplace-launcher.jar'+':'+BRIDGE_JAR : '');
|
||||
const diag=new URL(location.href).searchParams.get('diagnose');
|
||||
// Explicitly verify native JavaScript is delivered before VM initialization;
|
||||
// a successful HTTP response alone does NOT guarantee System.loadLibrary works.
|
||||
@@ -413,7 +413,7 @@ async function start(e,data){
|
||||
status(id,'running','Java-Anwendungsstart wird versucht. '+manifest.warnings.join(' '));
|
||||
try{
|
||||
const exitCode=manifest.main
|
||||
? await window.cheerpjRunMain(manifest.main,cp,...manifest.args)
|
||||
? (isWorkplace ? await window.cheerpjRunMain('com.widgetworkbench.cheerpj.WorkplaceLauncher',cp,manifest.main,...manifest.args) : await window.cheerpjRunMain(manifest.main,cp,...manifest.args))
|
||||
: await window.cheerpjRunJar(manifest.paths[0],...manifest.args);
|
||||
boot('Java main() beendet');
|
||||
status(id,'finished','Anwendung beendet (Exit-Code '+exitCode+').');
|
||||
|
||||
Reference in New Issue
Block a user