From 0f0072e397aaea7b5d336d42c4649c3300a4a3d2 Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Fri, 1 Jan 2021 03:00:47 +0100 Subject: [PATCH] 0.4.1 --- DEBIAN/control | 2 +- README.md | 2 +- keymapper/config.py | 2 +- keymapper/presets.py | 4 ++-- readme/development.md | 2 +- scripts/build.sh | 2 +- setup.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DEBIAN/control b/DEBIAN/control index 2285f4c4..23e646be 100644 --- a/DEBIAN/control +++ b/DEBIAN/control @@ -1,5 +1,5 @@ Package: key-mapper -Version: 0.4.0 +Version: 0.4.1 Architecture: all Maintainer: Sezanzeb Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi diff --git a/README.md b/README.md index 1b41e7d4..20a7dd7e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ pacaur -S key-mapper-git sudo apt install git python3-setuptools git clone https://github.com/sezanzeb/key-mapper.git cd key-mapper && ./scripts/build.sh -sudo dpkg -i ./dist/key-mapper-0.4.0.deb +sudo dpkg -i ./dist/key-mapper-0.4.1.deb sudo apt -f install ``` diff --git a/keymapper/config.py b/keymapper/config.py index 94eae4fb..430870b9 100644 --- a/keymapper/config.py +++ b/keymapper/config.py @@ -177,7 +177,7 @@ class GlobalConfig(ConfigBase): def __init__(self): self.path = os.path.join(CONFIG_PATH, 'config.json') - # migrate from < 0.4.0, add the .json ending + # migrate from < 0.4.1, add the .json ending deprecated_path = os.path.join(CONFIG_PATH, 'config') if os.path.exists(deprecated_path) and not os.path.exists(self.path): logger.info('Moving "%s" to "%s"', deprecated_path, self.path) diff --git a/keymapper/presets.py b/keymapper/presets.py index d716ecce..eceb26a5 100644 --- a/keymapper/presets.py +++ b/keymapper/presets.py @@ -32,13 +32,13 @@ from keymapper.getdevices import get_devices def migrate_path(): - """Migrate the folder structure from < 0.4.0. + """Migrate the folder structure from < 0.4.1. Move existing presets into the new subfolder "presets" """ new_preset_folder = os.path.join(CONFIG_PATH, 'presets') if not os.path.exists(get_preset_path()) and os.path.exists(CONFIG_PATH): - logger.info('Migrating presets from < 0.4.0...') + logger.info('Migrating presets from < 0.4.1...') devices = os.listdir(CONFIG_PATH) mkdir(get_preset_path()) for device in devices: diff --git a/readme/development.md b/readme/development.md index ccf21dae..39e9911b 100644 --- a/readme/development.md +++ b/readme/development.md @@ -50,7 +50,7 @@ Install dpkg or ssh/login into a debian/ubuntu environment ./scripts/build.sh ``` -This will generate `key-mapper/deb/key-mapper-0.4.0.deb` +This will generate `key-mapper/deb/key-mapper-0.4.1.deb` ## Badges diff --git a/scripts/build.sh b/scripts/build.sh index 1aa26795..d16871ee 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -8,7 +8,7 @@ build_deb() { python3 setup.py install --root=build/deb cp ./DEBIAN build/deb/ -r mkdir dist -p - dpkg -b build/deb dist/key-mapper-0.4.0.deb + dpkg -b build/deb dist/key-mapper-0.4.1.deb } build_deb & diff --git a/setup.py b/setup.py index 3bdc7910..6b2a2dfc 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools import setup setup( name='key-mapper', - version='0.4.0', + version='0.4.1', description='A tool to change the mapping of your input device buttons', author='Sezanzeb', author_email='proxima@hip70890b.de',