diff --git a/README.md b/README.md index 855b7e8..4997fdc 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ![Version](https://img.shields.io/github/v/release/LaswitchTech/ini-configurator?label=Version&style=for-the-badge) ## Description -INI Configurator is a lightweight and user-friendly GUI application designed for configuring my.ini files. The application allows users to seamlessly edit and manage configuration settings with a collapsible section-based interface, ensuring clarity and simplicity even with complex configuration files. The source code may be used to build similar applications for other configuration files. +INI Configurator is a lightweight and user-friendly GUI application designed for configuring ``.ini`` files. The application allows users to seamlessly edit and manage configuration settings with a collapsible section-based interface, ensuring clarity and simplicity even with complex configuration files. The source code may be used to build similar applications for other configuration files. ## Features - **Dynamic Configuration Editor**: Load, edit, and save my.ini configurations directly through the GUI. diff --git a/VERSION b/VERSION index 0ec25f7..b18d465 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.0.0 +v1.0.1 diff --git a/dist/macos/Configurator.app/Contents/MacOS/Configurator b/dist/macos/Configurator.app/Contents/MacOS/Configurator index ffff890..76661b7 100755 Binary files a/dist/macos/Configurator.app/Contents/MacOS/Configurator and b/dist/macos/Configurator.app/Contents/MacOS/Configurator differ diff --git a/dist/macos/Configurator.dmg b/dist/macos/Configurator.dmg index 72a84c5..f139e77 100644 Binary files a/dist/macos/Configurator.dmg and b/dist/macos/Configurator.dmg differ diff --git a/dist/windows/Configurator.exe b/dist/windows/Configurator.exe index 1500857..8ebadfb 100644 Binary files a/dist/windows/Configurator.exe and b/dist/windows/Configurator.exe differ diff --git a/src/configurator.py b/src/configurator.py index b4aaab7..428d233 100755 --- a/src/configurator.py +++ b/src/configurator.py @@ -18,6 +18,7 @@ # Declare Constants APP_NAME = "INI Configurator" INI_FILE = "conf.ini" +ENCODING = "utf-8" DEBUG = False class CaseSensitiveConfigParser(ConfigParser): @@ -228,7 +229,7 @@ def init_config(self): if os.path.exists(self.ini_path): # Read the configuration file - Parser.read(self.ini_path) + Parser.read(self.ini_path, encoding=ENCODING) # Get raw lines to check for raw values raw_lines = Parser.get_raw_lines() @@ -786,7 +787,6 @@ def save_config(self): if __name__ == "__main__": app = QApplication(sys.argv) - window = Configurator(INI_FILE, APP_NAME) window.show() sys.exit(app.exec_())