From f243c2bae2c459ca176f6aff5922da698300261d Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Thu, 27 Aug 2020 09:09:47 +0300 Subject: [PATCH] Export version and copy LICENSE --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 07099de..cc3c2ac 100755 --- a/build.sh +++ b/build.sh @@ -10,6 +10,9 @@ export APPIMAGE_EXTRACT_AND_RUN=1 cp $BUILD_DIR/app/scrcpy AppDir/usr/bin/. cp $ADB_DIR/adb AppDir/usr/bin/. +cp $BUILD_DIR/../LICENSE AppDir/. +echo $(git describe --tags) > AppDir/VERSION.txt + mkdir -p AppDir/usr/local/share/scrcpy cp $BUILD_DIR/../scrcpy_server AppDir/usr/local/share/scrcpy/scrcpy-server