mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fix directory issue when building all the packages where directory got skewed. (#98)
This commit is contained in:
parent
914cdac8fe
commit
d66cd37055
10
build.sh
10
build.sh
@ -62,7 +62,6 @@ Package()
|
|||||||
|
|
||||||
ProgressStart "Creating $runtime Package for $framework"
|
ProgressStart "Creating $runtime Package for $framework"
|
||||||
|
|
||||||
BuildUI
|
|
||||||
|
|
||||||
echo "Building"
|
echo "Building"
|
||||||
cd API
|
cd API
|
||||||
@ -91,16 +90,25 @@ Package()
|
|||||||
RID="$1"
|
RID="$1"
|
||||||
|
|
||||||
Build
|
Build
|
||||||
|
BuildUI
|
||||||
|
|
||||||
|
dir=$PWD
|
||||||
|
|
||||||
if [[ -z "$RID" ]];
|
if [[ -z "$RID" ]];
|
||||||
then
|
then
|
||||||
Package "net5.0" "win-x64"
|
Package "net5.0" "win-x64"
|
||||||
|
cd "$dir"
|
||||||
Package "net5.0" "win-x86"
|
Package "net5.0" "win-x86"
|
||||||
|
cd "$dir"
|
||||||
Package "net5.0" "linux-x64"
|
Package "net5.0" "linux-x64"
|
||||||
|
cd "$dir"
|
||||||
Package "net5.0" "linux-musl-x64"
|
Package "net5.0" "linux-musl-x64"
|
||||||
|
cd "$dir"
|
||||||
Package "net5.0" "osx-x64"
|
Package "net5.0" "osx-x64"
|
||||||
|
cd "$dir"
|
||||||
else
|
else
|
||||||
Package "net5.0" "$RID"
|
Package "net5.0" "$RID"
|
||||||
|
cd "$dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user