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
a3b5e629
Commit
a3b5e629
authored
Mar 31, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play xod-ide: fix downloading and repacking
parent
372f83eb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
xod-ide.sh
play.d/xod-ide.sh
+13
-1
xod-client-electron.sh
repack.d/xod-client-electron.sh
+4
-2
No files found.
play.d/xod-ide.sh
View file @
a3b5e629
...
@@ -10,7 +10,19 @@ URL="https://xod.io/"
...
@@ -10,7 +10,19 @@ URL="https://xod.io/"
warn_version_is_not_supported
warn_version_is_not_supported
PKGURL
=
"https://www.googleapis.com/download/storage/v1/b/releases.xod.io/o/v0.38.0%2Fxod-client-electron-0.38.0.x86_64.rpm?generation=1615553616000093&alt=media"
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
# https://www.googleapis.com/download/storage/v1/b/releases.xod.io/o/v0.38.0%2Fxod-client-electron-0.38.0.x86_64.rpm?generation=1615553616000093&alt=media
mask
=
"xod-client-electron*.x86_64.rpm*"
;;
*
)
# https://www.googleapis.com/download/storage/v1/b/releases.xod.io/o/v0.38.0%2Fxod-client-electron_0.38.0_amd64.deb?generation=1615553616049782&alt=media
mask
=
"xod-client-electron_*_amd64.deb*"
;;
esac
PKGURL
=
$(
eget
--list
--latest
https://xod.io/
"
$mask
"
)
||
fatal
"Can't get package URL"
repack
=
''
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
"--repack"
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
"--repack"
...
...
repack.d/xod-client-electron.sh
View file @
a3b5e629
...
@@ -10,12 +10,14 @@ PRODUCTDIR="/opt/XOD IDE"
...
@@ -10,12 +10,14 @@ PRODUCTDIR="/opt/XOD IDE"
.
$(
dirname
$0
)
/common-chromium-browser.sh
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_
link
_command
add_bin_
exec
_command
add_bin_link_command
$PRODUCTCUR
$PRODUCT
add_bin_link_command
$PRODUCTCUR
$PRODUCT
add_bin_link_command
"xod-client"
$PRODUCT
add_bin_link_command
"xod-client"
$PRODUCT
fix_desktop_file
"/opt/XOD IDE"
# fix SIGTRAP
subst
's|"$@"|--no-sandbox "$@"|'
usr/bin/
$PRODUCT
fix_desktop_file
"/opt/XOD IDE/xod-client-electron"
fix_chrome_sandbox
fix_chrome_sandbox
add_electron_deps
add_electron_deps
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