spiegel-keyman/linux/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
..
buildtools chore(linux): Code cleanup 2022-07-15 20:44:47 +02:00
icons chore(linux): Update debian metadata based on Debian repos 2021-01-12 18:38:18 +01:00
keyman_config feat(linux): re-create missing files at run-time 2024-06-14 18:11:11 +02:00
locale chore(common): Add crowdin strings for Mon 2023-09-12 13:05:44 +07:00
maninc fix(linux): Fix km-config man page 2021-08-31 08:26:07 +02:00
resources fix(linux): Fix icon for .kmp files 2024-04-24 18:00:41 +02:00
tests chore(linux): Fix typo 2024-05-03 17:39:14 +02:00
.editorconfig refactor(linux): Rename defines to clarify purpose 🏘️ 2023-09-18 19:00:29 +02:00
build-help.sh fix(linux): address code review comment 2023-06-07 10:20:38 +02:00
build.sh chore(common): builder scripts now use /resources/build/builder.inc.sh 2024-05-02 15:54:31 +07:00
COPYING license file 2018-05-24 16:53:38 +07:00
km-config chore(linux): Change order of initialization 2024-03-20 11:18:28 +01:00
km-config.bash-completion chore(linux): Fix lintian warnings 2023-06-05 17:18:55 +02:00
km-kvk2ldml chore(linux): Change order of initialization 2024-03-20 11:18:28 +01:00
km-kvk2ldml.bash-completion chore(linux): Fix lintian warnings 2023-06-05 17:18:55 +02:00
km-package-get chore(linux): Change order of initialization 2024-03-20 11:18:28 +01:00
km-package-get.bash-completion chore(linux): Fix lintian warnings 2023-06-05 17:18:55 +02:00
km-package-install chore(linux): Merge branch 'beta' into feat/linux/9363DBusEnv 2024-03-20 15:48:43 +01:00
km-package-install.bash-completion feat(linux): Remove message box if same kbd version already installed 2023-07-05 11:56:54 +02:00
km-package-list-installed chore(linux): Change order of initialization 2024-03-20 11:18:28 +01:00
km-package-list-installed.bash-completion chore(linux): Fix lintian warnings 2023-06-05 17:18:55 +02:00
km-package-uninstall chore(linux): Change order of initialization 2024-03-20 11:18:28 +01:00
km-package-uninstall.bash-completion chore(linux): Fix lintian warnings 2023-06-05 17:18:55 +02:00
Makefile chore(linux): Move build steps to build.sh 2023-05-30 09:25:27 +02:00
MANIFEST.in chore(linux): Move some files to keyman-config 2023-06-05 15:24:41 +02:00
README.md docs(linux): Move Linux documentation 2022-12-05 18:07:10 +01:00
run-tests.sh chore(linux): Allow to collect coverage on TC 2023-10-18 16:06:28 +02:00
setup.py feat(linux): Add pyxdg as binary pkg dependency and to setup.py 2024-03-22 18:10:30 +01:00

Linux km-config

See keyman-config.md for documentation.