Skip to content

Port-Kill v0.3.9 - Windows Build Fix & Code Quality

Choose a tag to compare

@dantelex dantelex released this 21 Sep 21:38
· 111 commits to main since this release

πŸ› οΈ Windows Build Fix & Code Quality Improvements

πŸͺŸ Windows Build Fix

  • βœ… Fixed Windows Compilation: Resolved variable naming conflict in file_monitor.rs
  • βœ… Cross-Platform Compatibility: All platforms now build successfully
  • βœ… Clean Build Process: No more compilation errors on Windows

πŸ”§ Code Quality Improvements

  • βœ… Clean Compilation: Resolved all compiler warnings for better code quality
  • πŸ”§ Unused Variables: Fixed unused parameter warnings in file monitoring
  • πŸ“¦ Dead Code: Properly handled unused struct fields with underscore prefix
  • πŸͺŸ Windows Methods: Added #[allow(dead_code)] to Windows-specific methods for future use

Technical Details

  • Fixed variable naming conflict: file_path vs _file_path in find_processes_with_file_handle_tool
  • Resolved compilation errors: Windows build now completes successfully
  • Renamed unused struct fields to use underscore prefix:
    • suspicious_only β†’ _suspicious_only in SecurityAuditor
    • timeout β†’ _timeout in EndpointMonitor
    • last_processes β†’ _last_processes in ScriptEngine
  • Added dead code allowances for Windows-specific file monitoring methods

πŸš€ Benefits

  • βœ… Working Windows Builds: No more compilation failures on Windows
  • Cleaner Build Output: No more compiler warnings cluttering build logs
  • Better Code Quality: Improved maintainability and professional standards
  • Future-Ready: Windows-specific methods preserved for future enhancements
  • CI/CD Friendly: Clean builds for automated deployment pipelines

πŸ“‹ What's Included

  • All previous features from v0.3.7
  • Dashboard improvements and diagnostic tools
  • File-based process management
  • Cross-platform scripting capabilities
  • Windows installation diagnostic tools
  • Fixed Windows build issues

πŸ”§ Installation

Windows

# Download and run the installer
curl -L https://github.com/kagehq/port-kill/releases/download/v0.3.9/install-release.bat | cmd

# Or use the diagnostic tool if you have issues
curl -L https://github.com/kagehq/port-kill/releases/download/v0.3.9/diagnose-installation.bat | cmd

macOS

curl -L https://github.com/kagehq/port-kill/releases/download/v0.3.9/install-release.sh | bash

Linux

curl -L https://github.com/kagehq/port-kill/releases/download/v0.3.9/install-release.sh | bash

🎯 Next Steps

This release focuses on fixing Windows build issues and code quality improvements. The next major release will include:

  • Enhanced file monitoring capabilities
  • Improved Windows integration
  • Additional scripting features
  • Performance optimizations

Full Changelog: v0.3.7...v0.3.9