Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
vicotor
frontend
Commits
66262753
Commit
66262753
authored
Oct 29, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review fixes
parent
a772e5dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
Dockerfile
Dockerfile
+0
-1
index.js
deploy/tools/favicon-generator/index.js
+3
-2
apple-touch-icon-180x180.png
public/assets/favicon/apple-touch-icon-180x180.png
+0
-0
favicon-generator.dev.sh
tools/scripts/favicon-generator.dev.sh
+0
-1
No files found.
Dockerfile
View file @
66262753
...
@@ -112,7 +112,6 @@ COPY --from=builder /app/public ./public
...
@@ -112,7 +112,6 @@ COPY --from=builder /app/public ./public
COPY
--from=builder /app/package.json ./package.json
COPY
--from=builder /app/package.json ./package.json
COPY
--from=builder /app/deploy/tools/envs-validator/index.js ./envs-validator.js
COPY
--from=builder /app/deploy/tools/envs-validator/index.js ./envs-validator.js
COPY
--from=builder /app/deploy/tools/feature-reporter/index.js ./feature-reporter.js
COPY
--from=builder /app/deploy/tools/feature-reporter/index.js ./feature-reporter.js
# COPY /app/deploy/tools/favicon-generator/index.js ./favicon-generator.js
# Copy scripts
# Copy scripts
## Entripoint
## Entripoint
...
...
deploy/tools/favicon-generator/index.js
View file @
66262753
...
@@ -23,7 +23,9 @@ async function generateFavicons() {
...
@@ -23,7 +23,9 @@ async function generateFavicons() {
appName
:
'
Blockscout
'
,
appName
:
'
Blockscout
'
,
icons
:
{
icons
:
{
android
:
true
,
android
:
true
,
appleIcon
:
true
,
appleIcon
:
{
background
:
'
transparent
'
,
},
appleStartup
:
false
,
appleStartup
:
false
,
favicons
:
true
,
favicons
:
true
,
windows
:
false
,
windows
:
false
,
...
@@ -60,7 +62,6 @@ async function generateFavicons() {
...
@@ -60,7 +62,6 @@ async function generateFavicons() {
console
.
log
(
'
Favicons generated successfully!
'
);
console
.
log
(
'
Favicons generated successfully!
'
);
}
catch
(
faviconError
)
{
}
catch
(
faviconError
)
{
console
.
warn
(
'
Error generating favicons:
'
,
faviconError
);
console
.
warn
(
'
Error generating favicons:
'
,
faviconError
);
console
.
warn
(
'
Skipping favicon generation. Please check your sharp installation.
'
);
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'
Error in favicon generation process:
'
,
error
);
console
.
error
(
'
Error in favicon generation process:
'
,
error
);
...
...
public/assets/favicon/apple-touch-icon-180x180.png
View replaced file @
a772e5dd
View file @
66262753
2.53 KB
|
W:
|
H:
2.38 KB
|
W:
|
H:
2-up
Swipe
Onion skin
tools/scripts/favicon-generator.dev.sh
View file @
66262753
...
@@ -9,7 +9,6 @@ fi
...
@@ -9,7 +9,6 @@ fi
dotenv
\
dotenv
\
-v
MASTER_URL
=
$master_url
\
-v
MASTER_URL
=
$master_url
\
-e
$secrets_file
\
--
bash
-c
'cd ./deploy/tools/favicon-generator && node "$(dirname "$0")/index.js"'
--
bash
-c
'cd ./deploy/tools/favicon-generator && node "$(dirname "$0")/index.js"'
if
[
-d
"
$favicon_folder
"
]
;
then
if
[
-d
"
$favicon_folder
"
]
;
then
...
...
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