Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obfuscate main program #167

Open
xLevision opened this issue Jun 20, 2019 · 6 comments
Open

obfuscate main program #167

xLevision opened this issue Jun 20, 2019 · 6 comments

Comments

@xLevision
Copy link

Hello,

I want to use Proguard to obfuscate my main application after building the Project.
The problem is, the launcher will download every restart the obfuscated application, maybe because the app.xml in the launcher.

there is a way to fix that? Can i create or replace the app.xml in the launcher myself?

@edvin
Copy link
Owner

edvin commented Jun 20, 2019

Yes, it's just a zip file, so you can open it and swap out the app.xml, or use the jar command to replace it :)

@xLevision
Copy link
Author

Ok, i just have to generate a new checksum, with ur alogirithm, and replace it in the app.xml.

That will fix it?

@edvin
Copy link
Owner

edvin commented Jun 20, 2019

You can do that, but you could also just make sure the obfuscation happens before you bundle the app.xml file in the launcher, so you don't need to fiddle with this at all.

@xLevision
Copy link
Author

I have no idea how to do this, acutally i obfuscate with the Proguard GUI. So i have to build, take the jar and obfuscate.

@edvin
Copy link
Owner

edvin commented Jun 20, 2019

Just do that before you run the create-manifest and embed-manifest-in-launcher step. Refer to the maven or gradle example project for more info and examples :)

@xLevision
Copy link
Author

i´ll try it, thank you for reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants