Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ab426858
Unverified
Commit
ab426858
authored
Jan 28, 2020
by
Jonah Williams
Committed by
GitHub
Jan 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools][web] add favicon to template and update index.html (#49237)
parent
d1e25bf2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
analyze.dart
dev/bots/analyze.dart
+5
-1
favicon.png
examples/flutter_gallery/web/favicon.png
+0
-0
index.html
examples/flutter_gallery/web/index.html
+1
-0
favicon.png.copy.tmpl
...ges/flutter_tools/templates/app/web/favicon.png.copy.tmpl
+0
-0
index.html.tmpl
packages/flutter_tools/templates/app/web/index.html.tmpl
+3
-0
No files found.
dev/bots/analyze.dart
View file @
ab426858
...
@@ -824,6 +824,10 @@ final Set<Hash256> _grandfatheredBinaries = <Hash256>{
...
@@ -824,6 +824,10 @@ final Set<Hash256> _grandfatheredBinaries = <Hash256>{
// examples/flutter_gallery/web/icons/Icon-512.png
// examples/flutter_gallery/web/icons/Icon-512.png
Hash256
(
0xBACCB205AE45f0B4
,
0x21BE1657259B4943
,
0xAC40C95094AB877F
,
0x3BCBE12CD544DCBE
),
Hash256
(
0xBACCB205AE45f0B4
,
0x21BE1657259B4943
,
0xAC40C95094AB877F
,
0x3BCBE12CD544DCBE
),
// packages/flutter_tools/templates/app/web/favicon.png.copy.tmpl
// examples/flutter_gallery/web/favicon.png
Hash256
(
0x7AB2525F4B86B65D
,
0x3E4C70358A17E5A1
,
0xAAF6F437f99CBCC0
,
0x46DAD73d59BB9015
),
// GALLERY ICONS
// GALLERY ICONS
// examples/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_background.png
// examples/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_background.png
...
@@ -1056,7 +1060,7 @@ Future<void> verifyNoBinaries(String workingDirectory, { Set<Hash256> grandfathe
...
@@ -1056,7 +1060,7 @@ Future<void> verifyNoBinaries(String workingDirectory, { Set<Hash256> grandfathe
assert
(
assert
(
_grandfatheredBinaries
_grandfatheredBinaries
.
expand
<
int
>((
Hash256
hash
)
=>
<
int
>[
hash
.
a
,
hash
.
b
,
hash
.
c
,
hash
.
d
])
.
expand
<
int
>((
Hash256
hash
)
=>
<
int
>[
hash
.
a
,
hash
.
b
,
hash
.
c
,
hash
.
d
])
.
reduce
((
int
value
,
int
element
)
=>
value
^
element
)
==
0x
BFC18DE113B5AE8E
// Please do not modify this line.
.
reduce
((
int
value
,
int
element
)
=>
value
^
element
)
==
0x
17138C817203D1A7
// Please do not modify this line.
);
);
grandfatheredBinaries
??=
_grandfatheredBinaries
;
grandfatheredBinaries
??=
_grandfatheredBinaries
;
if
(!
Platform
.
isWindows
)
{
// TODO(ianh): Port this to Windows
if
(!
Platform
.
isWindows
)
{
// TODO(ianh): Port this to Windows
...
...
examples/flutter_gallery/web/favicon.png
0 → 100644
View file @
ab426858
This diff was suppressed by a .gitattributes entry.
examples/flutter_gallery/web/index.html
View file @
ab426858
...
@@ -13,6 +13,7 @@ found in the LICENSE file. -->
...
@@ -13,6 +13,7 @@ found in the LICENSE file. -->
<meta
name=
"apple-mobile-web-status-bar-style"
content=
"black"
>
<meta
name=
"apple-mobile-web-status-bar-style"
content=
"black"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"Flutter Gallery"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"Flutter Gallery"
>
<link
rel=
"apple-touch-icon"
href=
"/icons/Icon-192.png"
>
<link
rel=
"apple-touch-icon"
href=
"/icons/Icon-192.png"
>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"/favicon.png"
/>
<title>
Flutter Gallery
</title>
<title>
Flutter Gallery
</title>
<link
rel=
"manifest"
href=
"/manifest.json"
>
<link
rel=
"manifest"
href=
"/manifest.json"
>
...
...
packages/flutter_tools/templates/app/web/favicon.png.copy.tmpl
0 → 100644
View file @
ab426858
File added
packages/flutter_tools/templates/app/web/index.html.tmpl
View file @
ab426858
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
<meta
name=
"apple-mobile-web-app-title"
content=
"{{projectName}}"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"{{projectName}}"
>
<link
rel=
"apple-touch-icon"
href=
"/icons/Icon-192.png"
>
<link
rel=
"apple-touch-icon"
href=
"/icons/Icon-192.png"
>
<!-- Favicon -->
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"/favicon.png"
/>
<title>
{{projectName}}
</title>
<title>
{{projectName}}
</title>
<link
rel=
"manifest"
href=
"/manifest.json"
>
<link
rel=
"manifest"
href=
"/manifest.json"
>
</head>
</head>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment