1 | static File getMainJarLocation() ctex {
|
2 | Class c = or(javax(), mc()); |
3 | ret new File(c.getProtectionDomain().getCodeSource().getLocation().toURI()); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016754 |
| Snippet name: | getMainJarLocation - for running program. may also return a directory |
| Eternal ID of this version: | #1016754/5 |
| Text MD5: | c57e97dcd6d89e8e96794096a77abbf9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-24 19:37:32 |
| Source code size: | 154 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 585 / 644 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |