diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:17:06 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:17:06 +0200 |
commit | 61f9dce95c1523ae06c0a608e17676659412b64c (patch) | |
tree | 6d8390c1c32b05e048599e529e2aef9d345d4160 /src/main.vala | |
parent | dcfb4504919bc8bc36e8b38d2a88349e4f549b10 (diff) | |
parent | 1de91b6c81b1cff3c922eae852e5bb08f32cd2d3 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/main.vala')
-rw-r--r-- | src/main.vala | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.vala b/src/main.vala index f4eed30..25a0690 100644 --- a/src/main.vala +++ b/src/main.vala @@ -571,9 +571,12 @@ void main(string[] args) { Application.init(!is_string_empty(filename)); // set custom data directory if it's been supplied - if (CommandlineOptions.data_dir != null) + if (CommandlineOptions.data_dir != null) { + if (CommandlineOptions.profile == null) { + AppWindow.error_message("Using the --datadir option without passing --profile and --create is deprecated\n. Plesae migrate to a proper profile instead."); + } AppDirs.set_data_dir(CommandlineOptions.data_dir); - else + } else AppDirs.try_migrate_data(); // Verify the private data directory before continuing |