Skip to content

Commit

Permalink
fix(komga-tray): load optional application configuration files inside…
Browse files Browse the repository at this point in the history
… config directory
  • Loading branch information
gotson committed Oct 2, 2024
1 parent e7ef2bc commit 2b41fef
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions komga-tray/src/main/resources/application-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ logging:
komga:
config-dir: ${user.home}/Library/Application Support/Komga
kobo.kepubify-path: kepubify
spring:
config:
import:
- "optional:file:${komga.config-dir}/application.yml"
- "optional:file:${komga.config-dir}/application.yaml"
- "optional:file:${komga.config-dir}/application.properties"
6 changes: 6 additions & 0 deletions komga-tray/src/main/resources/application-windows.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
komga:
config-dir: ${LOCALAPPDATA}/Komga
kobo.kepubify-path: kepubify.exe
spring:
config:
import:
- "optional:file:${komga.config-dir}/application.yml"
- "optional:file:${komga.config-dir}/application.yaml"
- "optional:file:${komga.config-dir}/application.properties"
2 changes: 2 additions & 0 deletions komga/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ logging:
# org.springframework.boot.autoconfigure: DEBUG
# org.springframework.security.web.FilterChainProxy: DEBUG
# org.springframework.security.web.authentication.rememberme: DEBUG
# org.springframework.boot.context.config.ConfigDataEnvironment: TRACE
# org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor: TRACE
logback:
rollingpolicy:
max-history: 1
Expand Down

0 comments on commit 2b41fef

Please sign in to comment.