Double-click "Update Submodule.lnk" in Windows File Explorer
- PlatformIO/VS Code override .bat file associations and open them in the editor instead of executing them
- The .lnk shortcut bypasses this issue and runs the update script properly
- Running from Windows Explorer ensures the command prompt opens correctly
The update script will:
- Pull the latest changes from the MagLoop_Common_Files repository
- Update your local submodule to the latest version
- Commit the submodule update to your project
- Display status messages and wait for you to press a key
If you prefer command line:
- PowerShell:
.\update_submodule.ps1 - Command Prompt:
.\update_submodule.bat - Manual:
git submodule update --remote MagLoop_Common_Files
update_submodule.ps1- PowerShell scriptupdate_submodule.bat- Batch file wrapperUpdate Submodule.lnk- Windows shortcut (recommended for double-click)create_shortcut.ps1- Script to recreate the shortcut if needed
Problem: Double-clicking opens files in PlatformIO editor Solution: Use Windows File Explorer, not the PlatformIO file explorer
Problem: Nothing happens when double-clicking Solution: Try right-click → "Run as administrator" on the shortcut