mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fixing the PKGBUILD
This commit is contained in:
parent
be2d3e324f
commit
9938cb87f4
@ -170,7 +170,7 @@ namespace Kyoo
|
|||||||
app.UseHsts();
|
app.UseHsts();
|
||||||
}
|
}
|
||||||
|
|
||||||
FileExtensionContentTypeProvider contentTypeProvider = new FileExtensionContentTypeProvider();
|
FileExtensionContentTypeProvider contentTypeProvider = new();
|
||||||
contentTypeProvider.Mappings[".data"] = "application/octet-stream";
|
contentTypeProvider.Mappings[".data"] = "application/octet-stream";
|
||||||
app.UseStaticFiles(new StaticFileOptions {ContentTypeProvider = contentTypeProvider});
|
app.UseStaticFiles(new StaticFileOptions {ContentTypeProvider = contentTypeProvider});
|
||||||
if (!env.IsDevelopment())
|
if (!env.IsDevelopment())
|
||||||
|
@ -21,6 +21,8 @@ sha256sums=("SKIP" "SKIP" "SKIP" "SKIP")
|
|||||||
prepare() {
|
prepare() {
|
||||||
# cd "Kyoo-$pkgver"
|
# cd "Kyoo-$pkgver"
|
||||||
cd "Kyoo"
|
cd "Kyoo"
|
||||||
|
# This is necessary since submodules paths are relative and PKGBUILD remote are the local directory.
|
||||||
|
git remote set-url origin https://github.com/AnonymusRaccoon/Kyoo
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user