diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:16:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:16:35 +0200 |
commit | f6062696f6bbd00d4eaa8a6e994dabfefc455f31 (patch) | |
tree | 4ba5e313f32c3f6973acbefe29203fd9602986dd /src/main.vala | |
parent | 5303f650e34763817d7eeb1d3ba774bdec3e1a38 (diff) |
New upstream version 0.32.7upstream/0.32.7
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 |