mirror of
https://github.com/jopohl/urh.git
synced 2026-03-06 08:24:01 +01:00
15 lines
340 B
Bash
Executable File
15 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=$(dirname "$(readlink -f "$0")")
|
|
|
|
echo "Copy snapcraft.yaml to base directory"
|
|
cd $DIR
|
|
cp snapcraft.yaml ..
|
|
cd ..
|
|
sed -i "s/version\: git/version\: $(python3 src/urh/version.py)/" snapcraft.yaml
|
|
|
|
|
|
SNAPCRAFT_BUILD_ENVIRONMENT_CPU=4 SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=5G snapcraft
|
|
sudo snap install --dangerous urh*.snap
|
|
urh
|