I got obfuscation working with compose for desktop using the setup that
@mcpiroman suggested
here. That works pretty well. I also tried obfuscating the file names by hashing them. All of a sudden my code will run, but headlessly. There is no UI. The obfuscated code works if I don’t hash the file names.
What’s strange is that the app also still works if I change the file names to something like
$fileName.min.jar
, but if I do
${hash(fileName).toHex()}.jar
I end up in headless mode for some reason.
I’ve checked anything I can think of? Any theories that anyone can suggest?