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
52b0ebc1
Commit
52b0ebc1
authored
Apr 28, 2025
by
CatSema
Committed by
Vitaly Lipatov
Apr 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add v2rayn
parent
c199d92e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
v2rayn.sh
play.d/v2rayn.sh
+27
-0
v2rayN.sh
repack.d/v2rayN.sh
+25
-0
No files found.
play.d/v2rayn.sh
0 → 100755
View file @
52b0ebc1
#!/bin/sh
PKGNAME
=
v2rayN
SUPPORTEDARCHES
=
"x86_64 arm64"
VERSION
=
"
$2
"
DESCRIPTION
=
"A GUI client for Windows, Linux and macOS, support Xray core and sing-box-core and others"
URL
=
"https://github.com/2dust/v2rayN"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
-a
)
"
case
"
$arch
"
in
x86_64
)
arch
=
"64"
;;
arm64
|
aarch64
)
arch
=
"arm64"
;;
esac
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
get_github_url
"https://github.com/2dust/v2rayN/"
"v2rayN-linux-
${
arch
}
.deb"
)
else
PKGURL
=
"https://github.com/2dust/v2rayN/releases/download/
$VERSION
/v2rayN-linux-
${
arch
}
.deb"
fi
install_pkgurl
repack.d/v2rayN.sh
0 → 100755
View file @
52b0ebc1
#!/bin/sh -x
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
v2rayN
PRODUCTDIR
=
/opt/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Name=v2rayN
Comment=A GUI client for Windows, Linux and macOS, support Xray core and sing-box-core and others
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Type=Application
Terminal=false
Categories=Network;Internet;Utility;
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