Commit Graph

14 Commits

Author SHA1 Message Date
real-yfprojects 24e1dd5c56
Run pre-commit (with newly added ruff) on code base.
Includes all changes by `pre-commit --all-files` including the changes introduced by ruff.
2023-05-01 10:28:11 +02:00
Manu 4d65912d65
Fix pyobjc imports, bump minimum Python version (#1698) 2023-04-29 12:26:01 +01:00
Vamp 961e0b5057
Migrate from appdirs to platformdirs (#1617)
Fixes #1610. Replace deprecated `appdirs` with fork `platformdirs`. Use the new `*_path` api of set fork. This changes the type of the constants defined in `vorta.config` holding locations to `pathlib.Path`.

* setup.cfg : Replace dep `appdirs` with `platformdirs`.

* src/vorta/config.py : Migrate. Simplify code for ensuring that the directories exist.

* src/vorta/log.py
* src/vorta/autostart.py
* src/vorta/application.py
* src/vorta/__main__.py
2023-03-10 16:00:39 +00:00
Manu ef297bbf4b
Avoid autostart warning when autostart disabled (#1549) 2023-01-20 12:25:58 +01:00
Manu b6a24debb7 Apply automatic formatting 2022-08-15 15:23:55 +02:00
Manu 60075318a6
Create missing parents of autostart folder. See #930 (#1146) 2021-12-24 14:04:15 +04:00
Samuel 2b1fce0936
Remove os library (#710)
Co-authored-by: Hofer Julian <30049909+Hofer-Julian@users.noreply.github.com>
2020-11-13 23:59:54 +01:00
Samuel Woon 3d7d97fc40
Refactor Linux autostart (#568) 2020-08-10 20:39:51 +02:00
Julian Hofer dd9b97b1b8 Rename background-option to daemonize 2019-07-20 18:47:24 +02:00
Julian Hofer 3138cc955e Fix autostart icon 2019-07-20 18:47:24 +02:00
Brendan Van Hook d6347b6caf Add option for starting Vorta in foreground. 2019-07-20 18:47:24 +02:00
Julian Hofer 8f5953b3b4 Make Flatpak Ready
1) Change socket-file path so that Flatpaks has access
2) Change autostart function so that it detects if it is run as Flatpak
2019-05-05 16:16:46 +02:00
Hofer-Julian 4b197f20d8 Fix autostart for Linux (#213) 2019-03-02 20:53:12 +08:00
Manuel Riel 8612703df2
Implement autostart linux by @Hofer-Julian (#191) 2019-02-17 14:23:34 +08:00