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
6e6e60ea
Commit
6e6e60ea
authored
Apr 27, 2025
by
CatSema
Committed by
Vitaly Lipatov
Apr 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: updated icon paths for Nekoray and added categories to the .desktop file
parent
dea4dc99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
nekoray.sh
repack.d/nekoray.sh
+8
-4
No files found.
repack.d/nekoray.sh
View file @
6e6e60ea
...
@@ -3,26 +3,30 @@
...
@@ -3,26 +3,30 @@
# It will be run with two args: buildroot spec
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
if
[
-f
$BUILDROOT
/opt/nekoray/nekoray
]
;
then
if
[
-f
$BUILDROOT
/opt/nekoray/nekoray
]
;
then
PRODUCT
=
nekoray
PRODUCT
=
nekoray
else
else
PRODUCT
=
nekobox
PRODUCT
=
nekobox
fi
fi
PRODUCTDIR
=
/opt/nekoray
PRODUCTDIR
=
/opt/nekoray
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
add_bin_link_command
add_libs_requires
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
[Desktop Entry]
Name=Nekoray
Name=Nekoray
Comment=Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box)
Comment=Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box)
Exec=
$PRODUCT
-- %u -appdata
Exec=
$PRODUCT
-- %u -appdata
Icon=
$PRODUCT
DIR
/
$PRODUCT
.png
Icon=
$PRODUCT
Type=Application
Type=Application
Terminal=false
Terminal=false
Categories=Network;
Categories=Network;
Internet;Utility;
EOF
EOF
install_file
$PRODUCTDIR
/
$PRODUCT
.png /usr/share/pixmaps/
$PRODUCT
.png
add_libs_requires
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