Skip to content

Conversation

Copy link

Copilot AI commented Oct 14, 2025

Summary

Fixed multiple issues in the $SoftwareList array that were causing incorrect versioning and potential runtime problems.

Issues Fixed

1. Hardcoded Version Numbers

Before: fldigi and flrig were pointing to specific outdated versions:

@{ Name = "fldigi";   File = "fldigi/fldigi-4.2.09_setup.exe" },
@{ Name = "flrig";    File = "flrig/flrig-2.0.09_setup.exe" },

After: Now use -latest pattern for automatic updates, consistent with other apps:

@{ Name = "fldigi";   File = "fldigi-latest_setup.exe" },
@{ Name = "flrig";    File = "flrig-latest_setup.exe" },

2. Missing Commas in Array

The last three test suite entries were missing commas, which could cause unexpected behavior:

@{ Name = "comptext"; File = "test_suite/comptext-1.0.1_setup.exe" }  # Missing comma
@{ Name = "comptty"; File = "test_suite/comptty-1.0.1_setup.exe" }    # Missing comma
@{ Name = "comptext"; File = "test_suite/linsim-2.0.6_setup.exe" }    # Missing comma

3. Incorrect Entry Name

The linsim installer was incorrectly named as comptext:

# Wrong
@{ Name = "comptext"; File = "test_suite/linsim-2.0.6_setup.exe" }

# Corrected
@{ Name = "linsim";   File = "test_suite/linsim-2.0.6_setup.exe" }

4. Duplicate Entry

A duplicate comptext entry was present at the end of the array, causing the script to attempt installing the same software twice.

Results

  • ✅ Array now contains 15 unique entries (down from 16 with duplicate)
  • ✅ All main applications use -latest for automatic version updates
  • ✅ Proper PowerShell array syntax with all commas in place
  • ✅ All entries have unique, correct names matching their installers
  • ✅ PowerShell syntax validation passes

The script will now correctly install the latest versions of all W1HKJ software without attempting duplicate installations.

Original prompt

On W1HKJ_all_apps.ps1, look at my updates to $SoftwareList and make sure they look good. it should be installing the latest version, model numbers are added only to show you the structure.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Review updates to software list in W1HKJ_all_apps.ps1 Fix W1HKJ_all_apps.ps1: Update to use latest versions, fix syntax errors, and remove duplicates Oct 14, 2025
Copilot finished work on behalf of AlwaysLearningTech October 14, 2025 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants