Libraryless. Click here for Pure Java version (9736L/63K).
1 | // mainJar can also be a directory |
2 | sbool standalone_start(S[] args, S programName, File newUserDir, File mainJar, File unpackDir, S framesID) { |
3 | System.out.println(programName + " starting."); |
4 | ret true if javaXStandalone_init(args); |
5 | if (newUserDir != null) setUserDir(newUserDir); |
6 | ret true if standalone_activateFrames(framesID); |
7 | vm_setResourceLoader(resourceLoaderFromJarOrDir(mainJar, unpackDir)); |
8 | print("Resource loader installed (" + f2s(mainJar) + " => " + f2s(unpackDir) + ")"); |
9 | false; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022675 |
Snippet name: | standalone_start (or activate frames) |
Eternal ID of this version: | #1022675/7 |
Text MD5: | fc282d96f76a98257e314053d867a10b |
Transpilation MD5: | 1561233c2e79dcff58d37ff51be69de8 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-24 19:38:02 |
Source code size: | 515 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 322 / 403 |
Version history: | 6 change(s) |
Referenced in: | [show references] |