[HTML5] Optional icon generation, use export name for it.

We used to only generate the favicon if it was specified in the user
project settings, now it's optional, will export it to `NAME.icon.png`,
(falling back to the default project icon if none is set in project
settings), and the `<link>` tag is added using the `$HEAD_INCLUDE`
instead of being hardcoded in the template.
This commit is contained in:
Fabio Alessandrelli
2021-03-26 12:44:17 +01:00
parent ad160c7f46
commit a7f2b723d6
2 changed files with 24 additions and 14 deletions

View File

@@ -3,7 +3,6 @@
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, user-scalable=no' />
<link id='-gd-engine-icon' rel='icon' type='image/png' href='favicon.png' />
<title>$GODOT_PROJECT_NAME</title>
<style type='text/css'>