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

18
LINES

< > BotCompany Repo | #1031236 // Smarty [runner for standalone packaging]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (12074L/79K).

1  
!7
2  
3  
mainClassName SmartyMain
4  
//!include #1031104
5  
6  
static File mainDir() {
7  
  ret mkdirs(userDir("Adaptron/Smarty"));
8  
}
9  
10  
p {
11  
  File mainJar = getMainJarLocation();
12  
  File unpackDir = newFile(mainDir(), "code");
13  
  programID = #1031123;
14  
  ret if standalone_start(new S[0], "Smarty", null, mainJar, unpackDir, programID());
15  
  set flag hotwire_here.
16  
  set flag run_debug.
17  
  ret with run(#1031123); // so we get a proper classloader
18  
}

Author comment

Began life as a copy of #1031104

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031236
Snippet name: Smarty [runner for standalone packaging]
Eternal ID of this version: #1031236/8
Text MD5: 309d2cea037529e29a887c1e4171642e
Transpilation MD5: a2e104218849333ce5dc5855c62f6096
Author: stefan
Category: javax / smarty
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-29 21:44:24
Source code size: 446 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 1068
Version history: 7 change(s)
Referenced in: [show references]