Commit graph

13 commits

Author SHA1 Message Date
copilot-swe-agent[bot] 824e1011ca Revert CliFx removal; fix macOS CI hang by setting WorkingDirectory on Exec
The macOS CI timeout was caused by `dotnet run` detecting the
`.csproj` file in the working directory and running the GUI project
instead of the `.csx` script. The GUI app would launch, try to
initialize Metal/Skia graphics (no display on CI), and hang until
the 10-minute job timeout.

Fix: Set `WorkingDirectory="$([System.IO.Path]::GetTempPath())"` on
the `<Exec>` element so `dotnet run` runs from a clean directory with
no project file, correctly treating the `.csx` as a file-based app.

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/4e5ffe4c-7b2e-44b9-9477-5ea3d50e0ec0
2026-03-23 21:08:41 +00:00
copilot-swe-agent[bot] d8b46b5610 Remove CliFx dependency from script to fix macOS CI timeout
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/55dce499-3afd-4c84-a913-19f7412efe1b
2026-03-23 19:14:51 +00:00
Oleksii Holub 8d03008e2e
Apply suggestion from @Tyrrrz 2026-03-23 20:55:59 +02:00
Oleksii Holub 9672d162d3
Update DiscordChatExporter.Gui/Publish-MacOSBundle.csx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 20:55:11 +02:00
copilot-swe-agent[bot] 420c0c5da8 Extract plist string literals to constants below BundleName
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/263eabd9-7c0b-4cf2-9439-c3f057dc650e
2026-03-23 18:54:54 +00:00
Oleksii Holub 5f9fe9603c
Update DiscordChatExporter.Gui/Publish-MacOSBundle.csx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 20:54:34 +02:00
Oleksii Holub 7e57497c9c
Apply suggestion from @Tyrrrz 2026-03-23 20:50:58 +02:00
copilot-swe-agent[bot] 6c3c937e0e Convert bundleName to a const; rename entry/destination to entryPath/destinationPath
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/313fa6a5-01c1-4e7b-93cd-1fcc2c4a7a95
2026-03-23 18:36:00 +00:00
copilot-swe-agent[bot] 8a4cb05d02 Inline single-use DirPath variables and move CreateDirectory calls next to their write sites
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/73520af9-6314-464f-ae0f-1bb63f1d1105
2026-03-23 18:05:26 +00:00
copilot-swe-agent[bot] 48685802cd Use async WriteAllTextAsync and async ExecuteAsync in Publish-MacOSBundle.csx
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/f249d9d4-48dc-48f4-a9cb-3402b18a76f1
2026-03-23 17:57:42 +00:00
copilot-swe-agent[bot] 726ac6b74b Address review feedback on Publish-MacOSBundle.csx
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/e7db4f40-4bab-4c83-bdba-0d77beeece0e
2026-03-23 17:46:53 +00:00
copilot-swe-agent[bot] bb87d5cb36 Use CliFx for argument parsing in Publish-MacOSBundle.csx
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/4ce0b5aa-af5d-4e9b-9265-2aab165d4b0a
2026-03-23 17:36:56 +00:00
copilot-swe-agent[bot] f5e5eaada7 Replace Publish-MacOSBundle.ps1 with Publish-MacOSBundle.csx (.NET 10 single-file app)
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/3f6969d8-9bf9-4236-9b69-3dfe23d765a8
2026-03-23 17:23:30 +00:00