Repository navigation
feat(text): read .ahk, .ini, .rsc and .cmd files as plain text - #663
Merged
Merged
Conversation
…660) AutoHotkey scripts, INI settings files, MikroTik RouterOS exports and .cmd batch scripts join the TXT format like .bat, .ps1 and .sql: recognised as text and converted to TXT, PDF, DOCX and the other text targets, never run. A .cmd offered by a web page stays refused as before, like .bat. Settings schema 49 teaches existing text donuts the new extensions, plus .sql, which #611 added without a migration; custom claims stay put. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 of 12 tasks
KnifeLemon
added a commit
that referenced
this pull request
Oct 27, 2026
…tensions (#663) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 27, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Adds
ahk(AutoHotkey),ini(settings files),rsc(MikroTik RouterOS exports) andcmd(Windows batch, same as.bat) to the extensions of the TXT format, the way #611 added.sql. They are read as plain text and convert to TXT, PDF, DOCX and the other text targets; nothing is ever run. A.cmdoffered by a web page stays refused, as.batalready is (WebFileNames).Settings schema 49 (
SettingsMigrations.ApplyToLibrary) teaches existing text donuts the new extensions, plus.sql, which #611 added without a migration (so existing libraries never learnt it). Custom claims stay put. Open PR #617 also uses schema 49; whichever merges second needs to renumber (noted in the migration comment, like v43).Closes #536, closes #661, closes #660
Part of #630 (
.ini→ TXT and the other text targets; the "BAT" target is still waiting for the reporter's answer)Type of change
How was it tested?
dotnet format --verify-no-changesdotnet test(Filee.Core.Tests: 638 passed, 3 skipped;ScriptTextTestscovers detection of the five extensions and the v48 → v49 migration, including a custom donut that keeps its.rscclaim)Screenshots (UI changes)
None, no UI changes.
Checklist
src/Filee.App/Assets/i18n/*.jsonfiles (no new UI strings)THIRD-PARTY-NOTICES.md(none added)The README format count stays at 266: no new format entry, only extensions of TXT.
🤖 Generated with Claude Code