Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
3782b670
Commit
3782b670
authored
Nov 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: add workaround for missed icons
parent
b8c6ef22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
generic-appimage.sh
repack.d/generic-appimage.sh
+10
-10
No files found.
repack.d/generic-appimage.sh
View file @
3782b670
...
@@ -64,17 +64,17 @@ if [ -r "$DESKTOPFILE" ] ; then
...
@@ -64,17 +64,17 @@ if [ -r "$DESKTOPFILE" ] ; then
fi
fi
[
-n
"
$ICONNAME
"
]
||
fatal
"Couldn't retrieve icon name from
$DESKTOPFILE
"
if
[
-n
"
$ICONNAME
"
]
;
then
ICONFILE
=
$ICONNAME
.png
ICONFILE
=
$ICONNAME
.png
# it is strange, there is no icon file
# it is strange, there is no icon file
# https://docs.appimage.org/reference/appdir.html
# https://docs.appimage.org/reference/appdir.html
if
[
!
-s
"
$FROMICONFILE
"
]
;
then
if
[
!
-s
"
$FROMICONFILE
"
]
;
then
FROMICONFILE
=
".DirIcon"
FROMICONFILE
=
".DirIcon"
grep
-q
"^<svg"
$FROMICONFILE
&&
ICONFILE
=
"
$PRODUCT
.svg"
grep
-q
"^<svg"
$FROMICONFILE
&&
ICONFILE
=
"
$PRODUCT
.svg"
fi
install_file
$PRODUCTDIR
/
$FROMICONFILE
/usr/share/pixmaps/
$ICONFILE
fi
fi
install_file
$PRODUCTDIR
/
$FROMICONFILE
/usr/share/pixmaps/
$ICONFILE
# copy icons if possible
# copy icons if possible
for
i
in
usr/share/icons/hicolor/
*
x
*
/apps/
*
;
do
for
i
in
usr/share/icons/hicolor/
*
x
*
/apps/
*
;
do
...
...
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