diff --git a/scripts/common.py b/scripts/common.py index 84fbad8..58ac068 100644 --- a/scripts/common.py +++ b/scripts/common.py @@ -137,7 +137,7 @@ def __init__(self, argv, script_name: str, script_version: str): # Check if running on Windows if sys.platform.startswith('win'): self.flatc_path = self.flatc_path.replace('/', '\\') - if not self.flatc_path.endswith(".exe"): + if not self.flatc_path.lower().endswith(".exe"): self.flatc_path += ".exe"