Commit 34d67633 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add xod-ide support

parent 3782b670
#!/bin/sh
PKGNAME=xod-client-electron
SUPPORTEDARCHES="x86_64"
VERSION="$2"
URL="https://xod.io/"
DESCRIPTION="A visual programming language for microcontrollers"
. $(dirname $0)/common.sh
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"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack="--repack"
epm $repack install "$PKGURL"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=xod-client-electron
PRODUCTCUR=xod-ide
PRODUCTDIR="/opt/XOD IDE"
. $(dirname $0)/common-chromium-browser.sh
add_bin_link_command
add_bin_link_command $PRODUCTCUR $PRODUCT
add_bin_link_command "xod-client" $PRODUCT
fix_desktop_file "/opt/XOD IDE"
fix_chrome_sandbox
add_electron_deps
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment