mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-31 15:05:47 -08:00
Merge branch 'master' into self-fix
This commit is contained in:
@@ -362,6 +362,9 @@ You can run the background worker as a systemd service for persistence.
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now viu-worker.service
|
||||
```
|
||||
|
||||
## Project using it
|
||||
**[Inazuma](https://github.com/viu-media/Inazuma)** - official gui wrapper over viu built in kivymd
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "viu-media"
|
||||
version = "3.3.4"
|
||||
version = "3.3.5"
|
||||
description = "A browser anime site experience from the terminal"
|
||||
license = "UNLICENSE"
|
||||
readme = "README.md"
|
||||
|
||||
2
uv.lock
generated
2
uv.lock
generated
@@ -3743,7 +3743,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "viu-media"
|
||||
version = "3.3.4"
|
||||
version = "3.3.5"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "click" },
|
||||
|
||||
@@ -71,7 +71,7 @@ class ConfigLoader:
|
||||
|
||||
return app_config
|
||||
|
||||
def load(self, update: Dict = {}) -> AppConfig:
|
||||
def load(self, update: Dict = {}, allow_setup=True) -> AppConfig:
|
||||
"""
|
||||
Loads the configuration and returns a populated, validated AppConfig object.
|
||||
|
||||
@@ -84,7 +84,7 @@ class ConfigLoader:
|
||||
Raises:
|
||||
ConfigError: If the configuration file contains validation or parsing errors.
|
||||
"""
|
||||
if not self.config_path.exists():
|
||||
if not self.config_path.exists() and allow_setup:
|
||||
return self._handle_first_run()
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user