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

Can not get superdevmode in RELEASE mode for HTML5? #7337

Open
EvgeniiZaikin opened this issue Feb 11, 2024 · 2 comments
Open

Can not get superdevmode in RELEASE mode for HTML5? #7337

EvgeniiZaikin opened this issue Feb 11, 2024 · 2 comments

Comments

@EvgeniiZaikin
Copy link

EvgeniiZaikin commented Feb 11, 2024

Hello!

I created HTML5 application. I run gradlew html:dist command. I run http-server html/build/dist command. Where my game? I see message that superdevmode need. Why?

Снимок экрана 2024-02-11 в 15 59 08
@EvgeniiZaikin
Copy link
Author

Well... I normally run release app by this instruction. Summary I copied dist folder from app folders to external folder (in my case desktop folder). Remove WEB-INF folder. And successfully run with node.js server. May be you can add this into deploying instruction.

@tommyettinger
Copy link
Member

Those deploying instructions have said this about Node.js, since about 2 years ago:

With Node.js npm install http-server -g then http-server html/build/dist and browse at http://localhost:8080/ . docs

Does that not work? I really don't think the desktop module should have any HTML-specific files in it. If you meant the Desktop folder for your user account, not a desktop project's folder, I don't know of any particular reason why one would be different from the other. If your project is in a OneDrive folder, take it out of there, because OneDrive really makes a mess out of IDEA's or Android Studio's caches, and causes strange bugs.

I've never had to remove the WEB-INF folder. Then again, I almost exclusively use projects generated by gdx-liftoff for HTML, and Liftoff removes the contents of WEB-INF/deploy/html/symbolMaps/ for dist builds (because they can be quite large). So I suppose the code I wrote removes specific parts of WEB-INF anyway...

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