Added fix to copy appsettings.json
This commit is contained in:
parent
4f5b3ec3c1
commit
6b2d121597
2 changed files with 6 additions and 1 deletions
4
build.sh
4
build.sh
|
|
@ -97,7 +97,6 @@ Package()
|
|||
cp ../LICENSE "$lOutputFolder"/LICENSE.txt
|
||||
|
||||
echo "Renaming API -> Kavita"
|
||||
|
||||
if [ $runtime == "win-x64" ] || [ $runtime == "win-x86" ]
|
||||
then
|
||||
mv "$lOutputFolder"/API.exe "$lOutputFolder"/Kavita.exe
|
||||
|
|
@ -105,6 +104,9 @@ Package()
|
|||
mv "$lOutputFolder"/API "$lOutputFolder"/Kavita
|
||||
fi
|
||||
|
||||
echo "Copying appsettings.json"
|
||||
cp appsettings.Development.json $lOutputFolder/appsettings.json
|
||||
|
||||
echo "Creating tar"
|
||||
cd ../$outputFolder/"$runtime"/
|
||||
tar -czvf ../kavita-$runtime.tar.gz Kavita
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ Package()
|
|||
|
||||
echo "Show API structure"
|
||||
find
|
||||
|
||||
echo "Copying appsettings.json"
|
||||
cp appsettings.Development.json $lOutputFolder/appsettings.json
|
||||
|
||||
echo "Creating tar"
|
||||
cd ../$outputFolder/"$runtime"/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue