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
1
Merge Requests
1
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
37790911
Commit
37790911
authored
Feb 09, 2026
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Feb 09, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: added Throne (eterbug #18873)
Signed-off-by:
Boris Yumankulov
<
boria138@altlinux.org
>
parent
a052dc83
Pipeline
#16947
passed with stage
in 16 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
0 deletions
+85
-0
Throne.sh
pack.d/Throne.sh
+71
-0
throne.sh
play.d/throne.sh
+14
-0
No files found.
pack.d/Throne.sh
0 → 100755
View file @
37790911
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
URL
=
"
$4
"
.
$(
dirname
$0
)
/common.sh
[
-n
"
$VERSION
"
]
||
VERSION
=
"
$(
echo
"
$URL
"
|
grep
-oP
'\d+(\.\d+)+'
|
head
-n1
)
"
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
PKGNAME
=
$PRODUCT
-
$VERSION
mkdir
opt/
mkdir
-p
usr/bin
mkdir
-p
usr/share/pixmaps
erc
$TAR
||
fatal
mv
-v
Throne opt/
$PRODUCT
mv
-v
opt/
$PRODUCT
/
$PRODUCT
.png usr/share/pixmaps/
cat
<<
EOF
| create_file /usr/share/applications/Throne.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Throne
Comment=Cross-platform GUI proxy utility (Empowered by sing-box)
Exec=throne
Icon=Throne
Terminal=false
StartupNotify=false
StartupWMClass=Throne
Categories=Network;
EOF
cat
<<
EOF
> usr/bin/throne
#!/bin/sh
# Correctly handle non-standard config directory
confdir=\
${
XDG_CONFIG_HOME
:-
\
$HOME
/.config
}
datadir=\
$confdir
/Throne
appdir=/opt/Throne
# Prepare appdata
if [ ! -d \
$datadir
]; then
nekoray_datadir=\
$confdir
/nekoray
if [ -d \
$nekoray_datadir
]; then
# Migrate appdata from nekoray
cp -a \
$nekoray_datadir
$datadir
else
mkdir -p \
$datadir
fi
fi
# Remove broken (since 1.0.2-beta.1) links to geo assets
if [ -L \
$datadir
/geoip.db ] || [ -L
$datadir
/geosite.db ]; then
rm -f \
$datadir
/geo{ip,site}.db
fi
# Run application
\
$appdir
/Throne -- -appdata
EOF
chmod
755 usr/bin/throne
erc pack
$PKGNAME
.tar usr opt
return_tar
$PKGNAME
.tar
play.d/throne.sh
0 → 100755
View file @
37790911
#!/bin/sh
PKGNAME
=
Throne
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Cross-platform GUI proxy utility (Empowered by sing-box)"
URL
=
" https://github.com/throneproj/Throne "
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
--debian-arch
)
"
PKGURL
=
$(
get_github_url
"https://github.com/throneproj/Throne/"
"
${
PKGNAME
}
-
${
VERSION
}
-linux-
$arch
.zip"
)
install_pack_pkgurl
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