Merge pull request #28 from tsln1998/main

fix(kiro): remove the extra quotation marks from the protocol handler
This commit is contained in:
Luis Pater
2025-12-15 20:40:07 +08:00
committed by GitHub
+1 -1
View File
@@ -471,7 +471,7 @@ foreach ($port in $ports) {
// Create batch wrapper // Create batch wrapper
batchPath := filepath.Join(scriptDir, "kiro-oauth-handler.bat") batchPath := filepath.Join(scriptDir, "kiro-oauth-handler.bat")
batchContent := fmt.Sprintf("@echo off\npowershell -ExecutionPolicy Bypass -File \"%s\" \"%%1\"\n", scriptPath) batchContent := fmt.Sprintf("@echo off\npowershell -ExecutionPolicy Bypass -File \"%s\" %%1\n", scriptPath)
if err := os.WriteFile(batchPath, []byte(batchContent), 0644); err != nil { if err := os.WriteFile(batchPath, []byte(batchContent), 0644); err != nil {
return fmt.Errorf("failed to write batch wrapper: %w", err) return fmt.Errorf("failed to write batch wrapper: %w", err)