Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit c64e5ae

Browse files
authored
Merge pull request #23 from xeyossr/fix
[FIX] Config yoksa nil pointer hatası
2 parents 3b46774 + d0a34d9 commit c64e5ae

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

aur/.SRCINFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = anitr-cli
22
pkgdesc = 🚀 Terminalde Türkçe altyazılı anime arama ve izleme aracı
3-
pkgver = 4.5.0
3+
pkgver = 4.5.1
44
pkgrel = 1
55
url = https://github.com/xeyossr/anitr-cli
66
arch = any
@@ -12,7 +12,7 @@ pkgbase = anitr-cli
1212
optdepends = rofi-wayland: Wayland kullanıcıları için GUI
1313
optdepends = yt-dlp: Anime indirme özelliği için
1414
optdepends = youtube-dl: Anime indirme özelliği için
15-
source = anitr-cli-4.5.0.tar.gz::https://github.com/xeyossr/anitr-cli/archive/refs/tags/v4.5.0.tar.gz
15+
source = anitr-cli-4.5.1.tar.gz::https://github.com/xeyossr/anitr-cli/archive/refs/tags/v4.5.1.tar.gz
1616
sha256sums = SKIP
1717

1818
pkgname = anitr-cli

aur/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: xeyossr
22
# Description: 🚀 Terminalde Türkçe altyazılı anime arama ve izleme aracı
33
pkgname=anitr-cli
4-
pkgver=4.5.0
4+
pkgver=4.5.1
55
pkgrel=1
66
pkgdesc="🚀 Terminalde Türkçe altyazılı anime arama ve izleme aracı"
77
arch=('any')

main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,10 @@ func runMain(cmd *cobra.Command, f *flags.Flags, uiMode string, logger *utils.Lo
14161416
logger: logger,
14171417
}
14181418

1419+
// Varsayılan kaynak
1420+
currentApp.source = utils.Ptr(models.AnimeSource(openanime.OpenAnime{}))
1421+
currentApp.selectedSource = utils.Ptr("OpenAnime")
1422+
14191423
// Configi yükle
14201424
cfg, err := utils.LoadConfig(filepath.Join(utils.ConfigDir(), "config.json"))
14211425
if err == nil {

0 commit comments

Comments
 (0)