Skip to content

Commit

Permalink
Merge pull request #2 from LaswitchTech/dev
Browse files Browse the repository at this point in the history
Publishing v1.0.1
  • Loading branch information
LouisOuellet authored Dec 5, 2024
2 parents 3e40ed1 + 37bc5c9 commit b2b6313
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0
v1.0.1
Binary file modified dist/macos/Configurator.app/Contents/MacOS/Configurator
Binary file not shown.
Binary file modified dist/macos/Configurator.dmg
Binary file not shown.
Binary file modified dist/windows/Configurator.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions src/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Declare Constants
APP_NAME = "INI Configurator"
INI_FILE = "conf.ini"
ENCODING = "utf-8"
DEBUG = False

class CaseSensitiveConfigParser(ConfigParser):
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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_())

0 comments on commit b2b6313

Please sign in to comment.