spiegel-keyman/linux/keyman-config/keyman_config
Eberhard Beilharz 64515b025b
feat(linux): re-create missing files at run-time
This changes re-creates the `<package>.bmp.png` as well as the
`<package>.json` files if they are missing when `km-config` starts.

- `<package.bmp.png` gets created from a `.bmp` or `.ico` file included
in the package, similar to what happens when installing the keyboard.
- `<package>.json` gets created from downloaded metadata, similar to
the installation.

If the files are missing or we can't write to the directory, e.g. if it's
the shared area, we skip the re-creation.

Fixes: #9396
2024-06-14 18:11:11 +02:00
..
icons rename keymanconfig to keyman_config 2018-09-01 12:28:16 +07:00
standards fix(linux): Improve error handling if lang_tags_map.py is missing 2021-06-23 17:09:59 +02:00
__init__.py fix(linux): Fix cleanup of files 2024-03-22 15:42:27 +01:00
accelerators.py chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
bcp47tag.py fix(linux): Use raw string for regex 2024-02-06 17:01:59 +01:00
canonical_language_code_utils.py fix(linux): Don't crash if und is specified without fonipa 2022-11-15 18:30:23 +01:00
check_mime_type.py chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
convertico.py refactor(linux): make method private and change variable names 2024-06-14 15:58:21 +02:00
custom_keyboards.py feat(linux): Deal with temporary dbus session 2024-03-22 12:54:50 +01:00
dbus_util.py fix(linux): Fix build on Bionic 2022-07-22 09:47:37 +02:00
dconf_util.py refactor(linux): Fix warning 2023-08-28 20:11:41 +02:00
deprecated_decorator.py chore(linux): Add deprecated decorator 2021-06-25 18:52:10 +02:00
downloadkeyboard.py chore(core): Update debian package to use webkit2 4.1 2024-01-24 16:47:22 +01:00
fcitx_util.py Do not restart Fcitx 2023-12-07 13:41:21 -08:00
get_info.py chore(linux): More import sorting 2022-07-18 17:10:01 +02:00
get_kmp.py fix(linux): Use temp dir if we can't create cache dir 2024-02-09 18:01:40 +01:00
gnome_keyboards_util.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
gsettings.py feat(linux): Deal with temporary dbus session 2024-03-22 12:54:50 +01:00
handle_install.py chore(linux): Refactorings 2023-06-07 18:57:20 +02:00
ibus_util.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
install_kmp.py feat(linux): re-create missing files at run-time 2024-06-14 18:11:11 +02:00
install_window.py fix(linux): Replace deprecated pkg_resources module in remaining places 2024-03-20 11:44:00 +01:00
keyboard_details.py fix(linux): Remove tags from package description 2023-07-05 11:43:32 +02:00
keyboard_layouts_model.py refactor(linux): Extract widgets to separate classes and files 2023-06-13 20:05:48 +02:00
keyboard_layouts_widget.py refactor(linux): Rename OptionsView to KeyboardOptionsView 2023-06-13 20:05:49 +02:00
keyboard_options_view.py chore(core): Update debian package to use webkit2 4.1 2024-01-24 16:47:22 +01:00
kmpmetadata.py chore(linux): Refactorings 2023-06-07 18:58:06 +02:00
kvk2ldml.py chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
list_installed_kmp.py fix(linux): Replace deprecated pkg_resources module in remaining places 2024-03-20 11:44:00 +01:00
options_widget.py refactor(linux): Extract widgets to separate classes and files 2023-06-13 20:05:48 +02:00
sentry_handling.py fix(linux): Fix crash initializing Sentry with Python < 3.10 2023-10-16 18:44:18 +02:00
uninstall_kmp.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
version.py.in chore: revise tag variable name to VERSION_GIT_TAG 2023-01-21 17:02:50 +07:00
view_installed.py feat(linux): re-create missing files at run-time 2024-06-14 18:11:11 +02:00
welcome.py chore(core): Update debian package to use webkit2 4.1 2024-01-24 16:47:22 +01:00