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).

!7

mainClassName SmartyMain
//!include #1031104

static File mainDir() {
  ret mkdirs(userDir("Adaptron/Smarty"));
}

p {
  File mainJar = getMainJarLocation();
  File unpackDir = newFile(mainDir(), "code");
  programID = #1031123;
  ret if standalone_start(new S[0], "Smarty", null, mainJar, unpackDir, programID());
  set flag hotwire_here.
  set flag run_debug.
  ret with run(#1031123); // so we get a proper classloader
}

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: 243 / 1068
Version history: 7 change(s)
Referenced in: #1031235 - Package Smarty [also deploys from dev to stable preview]
#1031241 - Smarty [runner for IDEA project]