Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
5rahim committed Oct 25, 2024
1 parent c17a15a commit 2bcbe8f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## v2.2.1

- 🦺 Torrent streaming: Fixed auto-select regression
- 🦺 Fixed issue with inexistant log directory

## v2.2.0

- 🎉 New offline mode
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Feel free to turn to other tools or services that better suit your needs.
- Support for other providers such as Trakt, SIMKL, etc.
- Support for other media players
- Dedicated clients (TV, mobile, etc.)
- Support for Usenet, Debrid services, private trackers
- Support for Usenet, private trackers
- Support for other languages (internationalization)

These features will not be implemented, mainly due to the scope of the project, time required or lack of resources.
Expand Down
3 changes: 3 additions & 0 deletions internal/core/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package core

import (
"github.com/rs/zerolog"
"os"
"runtime"
"seanime/internal/api/anilist"
"seanime/internal/api/metadata"
Expand Down Expand Up @@ -123,6 +124,8 @@ func NewApp(configOpts *ConfigOptions, selfupdater *updater.SelfUpdater) *App {
logger.Fatal().Err(err).Msgf("app: Failed to initialize config")
}

_ = os.MkdirAll(cfg.Logs.Dir, 0755)

logger.Info().Msgf("app: Data directory: %s", cfg.Data.AppDataDir)

// Print working directory
Expand Down

0 comments on commit 2bcbe8f

Please sign in to comment.