Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1024962 // standalone_start2

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9574L/62K).

// returns true if you should exit
sbool standalone_start2(bool standalone, S programName, S framesID) {
  ret standalone_start2(standalone, programName, framesID, programName);
}

sbool standalone_start2(bool standalone, S programName, S framesID, S virtualDirName) {
  File virtualHome = javaxVirtualDir(virtualDirName);
  File mainJar = getMainJarLocation();
  File unpackDir = newFile(virtualHome, "unpacked");
  if (standalone)
    ret standalone_start(null, programName, virtualHome, mainJar, unpackDir, framesID);
  else
    setUserDir(virtualHome);
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024962
Snippet name: standalone_start2
Eternal ID of this version: #1024962/6
Text MD5: 6482379a5bde36bf6a8e56c75f446790
Transpilation MD5: 6e3be652b55a2da2130bd3dfaabae2ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-24 13:38:43
Source code size: 581 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 298
Version history: 5 change(s)
Referenced in: [show references]