Commit f9ae7d5b authored by Roman Butler's avatar Roman Butler Committed by Konstantin Kitmanov

Обновил build.sh в соответствии с изменениями в package.json

parent 5d04b25e
......@@ -14,10 +14,10 @@ PRODUCT_NAME=`cat ../package.json | jq -r '.build.win.productName'`
DESCRIPTION=`cat ../package.json | jq -r '.description'`
VERSION=`cat ../package.json | jq -r '.version'`
MAINTAINER='Konstantin Kitmanov <me@kitmanov.name>'
HOMEPAGE='https://k12th.itch.io/pillared'
EMAIL='me@kitmanov.name'
KEYWORDS='Многоколонный;игра;Лавкрафт'
MAINTAINER=`cat ../package.json | jq -r '.author.name + " <" + .author.email + ">"'`
HOMEPAGE=`cat ../package.json | jq -r '.homepage'`
EMAIL=`cat ../package.json | jq -r '.author.email'`
KEYWORDS=`cat ../package.json | jq -r '.keywords | join (";")'`
echo " \033[32mProject Version: "$VERSION
......@@ -77,7 +77,7 @@ echo '#!/bin/sh
if [ -x /usr/share/'$NAME'/'$NAME' ] ; then
/usr/share/'$NAME'/'$NAME'
else
echo "Error: binaries not found in /usr/share/'$NAME'"
echo "Error: pilared binaries not found in /usr/share/'$NAME'"
exit 1
fi
' > usr/games/$NAME
......@@ -87,7 +87,7 @@ echo '[Desktop Entry]
Version=1.0
Name='$PRODUCT_NAME'
Comment='$DESCRIPTION'
GenericName=Игра Многоколонный
GenericName='$PRODUCT_NAME'
Keywords='$KEYWORDS'
Exec='$NAME'
Terminal=false
......
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