Download Jar. Libraryless. Click here for Pure Java version (8166L/51K).
1 | !7 |
2 | |
3 | p { |
4 | File finalDir = javaxCodeDir("Chromium"); |
5 | File temp = javaxCodeDir("Unpacking Chromium"); |
6 | if (!fileExists(newFile(finalDir, "linux64"))) { |
7 | unzipSnippet(#1400144, temp); |
8 | for (File f : findAllFiles_noDirs(temp)) |
9 | if (fileHasExtension(f, ".so") || eqOneOf(f.getName(), "jcef_helper", "chrome-sandbox", "run.sh")) |
10 | makeExecutable(f); |
11 | renameFile(temp, finalDir); |
12 | } |
13 | pcall { |
14 | File jdkBinDir = newFile(envJavaHome(), "bin"); |
15 | for (S name : ll("icudtl.dat", "natives_blob.bin", "snapshot_blob.bin")) |
16 | makeSymLinkIfDoesntExist(newFile(jdkBinDir, name), newFile(finalDir, "linux64/bin/lib/linux64/" + name)); |
17 | } |
18 | File runner = newFile(finalDir, "linux64/run2.sh"); |
19 | saveTextFile(runner, "cd " + bashQuote(dirOfFile(runner)) + [[; ./run.sh "$@"]]); |
20 | makeExecutable(runner); |
21 | nohup(f2s(runner) + " https://botcompany.de"); |
22 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019271 |
Snippet name: | Java CEF Test (embedded Chrome browser, Linux 64) [seems to work] |
Eternal ID of this version: | #1019271/24 |
Text MD5: | 58b4cec2a177d4be9ced2cb79e6d30a4 |
Transpilation MD5: | 1eee9ac47698e243a468729c35cf1bf7 |
Author: | stefan |
Category: | javax / browser |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-08 01:04:47 |
Source code size: | 890 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 465 / 1297 |
Version history: | 23 change(s) |
Referenced in: | [show references] |