Fix Branding

This commit is contained in:
Neshura 2024-08-07 18:54:10 +02:00
parent ba07d40090
commit 059b6e348b
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D
8 changed files with 50 additions and 22 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="EMPTY_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -3,7 +3,9 @@
<component name="MaterialThemeProjectNewConfig">
<option name="metadata">
<MTProjectMetadataState>
<option name="userId" value="35e9767a:19031e016a2:-7f1b" />
<option name="migrated" value="true" />
<option name="pristineConfig" value="false" />
<option name="userId" value="-349a7812:1900e527711:-7ffe" />
</MTProjectMetadataState>
</option>
</component>

8
.idea/modules.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/kavita-web-manager-api.iml" filepath="$PROJECT_DIR$/.idea/kavita-web-manager-api.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

32
Cargo.lock generated
View file

@ -32,6 +32,22 @@ dependencies = [
"libc",
]
[[package]]
name = "api-backend"
version = "0.0.1-rc.1"
dependencies = [
"axum",
"chrono",
"dotenv",
"futures",
"log",
"parking_lot",
"systemd-journal-logger",
"tokio",
"tokio-util",
"urlencoding",
]
[[package]]
name = "async-trait"
version = "0.1.81"
@ -419,22 +435,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "kavita-web-manager-api"
version = "0.0.1-rc.1"
dependencies = [
"axum",
"chrono",
"dotenv",
"futures",
"log",
"parking_lot",
"systemd-journal-logger",
"tokio",
"tokio-util",
"urlencoding",
]
[[package]]
name = "libc"
version = "0.2.155"

View file

@ -1,6 +1,6 @@
[package]
authors = ["Neshura"]
name = "kavita-web-manager-api"
name = "api-backend"
version = "0.0.1-rc.1"
edition = "2021"
description = "API Backend For Easier Uploading To Kavita"
@ -8,14 +8,15 @@ license = "GPL-3.0-or-later"
[package.metadata.deb]
name = "kwm-api"
extended-description = "API Backend For Easier Uploading To Kavita"
maintainer-scripts = "debian/"
revision = "1"
depends = ["libc6", "libssl3", "systemd"]
assets = [
[
"target/release/kavita-web-manager-api",
"/usr/local/bin/kavita-web-manager-api",
"target/release/api-backend",
"/usr/local/bin/kwm-api",
"755",
]
]

View file

@ -1,2 +1,2 @@
# web-manager-api
# api-backend

View file

@ -5,7 +5,7 @@ After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/kavita-web-manager-api
ExecStart=/usr/local/bin/kwm-api
Restart=always
RestartSec=3