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
ff99c74f
Commit
ff99c74f
authored
Jul 08, 2025
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Jul 19, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack, repack jetbrains-toolbox: fix install (eterbug #17865)
parent
873ad59e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
15 deletions
+29
-15
jetbrains-toolbox.sh
pack.d/jetbrains-toolbox.sh
+16
-4
jetbrains-toolbox.sh
repack.d/jetbrains-toolbox.sh
+13
-11
No files found.
pack.d/jetbrains-toolbox.sh
View file @
ff99c74f
...
...
@@ -7,13 +7,23 @@ RETURNTARNAME="$2"
# use version from tarball
PKGNAME
=
"
$(
basename
$TAR
.tar.gz
)
"
VERSION
=
"
$(
echo
$PKGNAME
|
sed
-e
's/jetbrains-toolbox-//'
)
"
# they packed AppImage to tarball, so unpack it
erc
$TAR
||
fatal
cd
$PKGNAME
*
||
fatal
cp
$PRODUCT
$PKGNAME
.AppImage
||
fatal
cat
<<
EOF
>
$PKGNAME
.AppImage.eepm.yaml
# create svg icon
cat
<<
EOF
> jetbrains-toolbox.svg
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><defs><linearGradient id="a" x1="2.18" y1="23.255" x2="30.041" y2="8.782" gradientUnits="userSpaceOnUse"><stop offset=".043" stop-color="#ff8618"/><stop offset=".382" stop-color="#ff246e"/><stop offset=".989" stop-color="#af1df5"/></linearGradient></defs><title>ToolBox_trayIcon_colour_32-01</title><path d="M26,22.4713l-6.83,3.8311V23.2578L26,19.4268v3.0445Z" fill="#fff"/><path fill="#000001" d="M16 32.076L30 24.065 30 8.057 16 16.067 16 32.076"/><path fill="#fff" d="M18.925 24.641L18.925 27.041 25.026 23.55 25.026 21.15 18.925 24.641"/><path fill="url(#a)" d="M16 0.076L2 8.057 2 8.057 2 8.057 2 24.065 16 32.076 16 16.067 30 8.057 16 0.076"/></svg>
EOF
mkdir
-p
opt/jetbrains-toolbox usr/share/applications usr/share/icons/hicolor/scalable/apps
mv
bin/
*
opt/jetbrains-toolbox/
install
-Dm644
opt/jetbrains-toolbox/jetbrains-toolbox.desktop usr/share/applications/jetbrains-toolbox.desktop
install
-Dm644
jetbrains-toolbox.svg usr/share/icons/hicolor/scalable/apps/jetbrains-toolbox.svg
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Development/C
license: Proprietary
...
...
@@ -22,4 +32,6 @@ summary: JetBrains Toolbox App
description: JetBrains Toolbox App.
EOF
return_tar
$PKGNAME
.AppImage
erc pack
$PKGNAME
-
$VERSION
.tar opt usr
||
fatal
return_tar
$PKGNAME
-
$VERSION
.tar
repack.d/jetbrains-toolbox.sh
View file @
ff99c74f
...
...
@@ -11,17 +11,19 @@ PRODUCTDIR=/opt/$PRODUCTCUR
.
$(
dirname
$0
)
/common.sh
# overwrite default exec script
cat
<<
EOF
>usr/bin/
$PRODUCT
#!/bin/sh
BINDIR=~/.local/share/JetBrains/Toolbox/bin
if [ ! -L \
$BINDIR
] ; then
mkdir -p \
$(
dirname
\$
BINDIR
)
rm -rf \
$BINDIR
ln -s
$PRODUCTDIR
\
$BINDIR
fi
cd \
$BINDIR
exec ./
$PRODUCT
"\
$@
"
EOF
# cat <<EOF >usr/bin/$PRODUCT
# #!/bin/sh
# BINDIR=~/.local/share/JetBrains/Toolbox/bin
# if [ ! -L \$BINDIR ] ; then
# mkdir -p \$(dirname \$BINDIR)
# rm -rf \$BINDIR
# ln -s $PRODUCTDIR \$BINDIR
# fi
# cd \$BINDIR
# exec ./$PRODUCT "\$@"
# EOF
add_bin_exec_command
$PRODUCT
$PRODUCTDIR
/
$PRODUCT
add_requires java-openjdk
...
...
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