# Strip upstream (ArtCraft / Discord) branding. Run: perl tools/craft-skills/skills/debrand/debrand.pl .  (--check in CI)
delete docs/brand
# MIT/Apache texts stay verbatim. The copyright holder line stays everywhere (legal requirement).
keep ^(LICENSE-(MIT|APACHE)|\.debrand)$
dropline ^ATTRIBUTION\.md$ :: \|\s*`docs/brand/
sub (?s)\nThe ArtCraft name, wordmark and logos in docs/brand/.*?LICENSE-brand\.txt\.\n =>
sub drawn in ArtCraft, vectorised => drawn by hand, vectorised
sub drawing by the project owner in ArtCraft\) => drawing by the project owner)
sub made for this project by the project owner in ArtCraft, then => made for this project by the project owner by hand, then
sub the project owner drew it in ArtCraft => the project owner drew it by hand
sub owner's ArtCraft unicorn drawing => owner's unicorn drawing
sub The owner's ArtCraft drawing => The owner's drawing
sub https://getartcraft\.com/apps/effectcraft => https://github.com/storytold/effectcraft
sub https://discord\.gg/artcraft => https://github.com/storytold/effectcraft/issues
sub https://getartcraft\.com => https://example.com
sub \[Discord\]\(https://github\.com/storytold/effectcraft/issues\) and in\nGitHub issues => GitHub issues
sub Come tell us what matters most to you on \[Discord\]\(https://github\.com/storytold/effectcraft/issues\)\. => Tell us what matters most to you in [GitHub issues](https://github.com/storytold/effectcraft/issues).
sub links \(Help menu, Discord, Settings\) => links (Help menu, Settings)
sub the Discord and other links do nothing => the links do nothing
sub \(6 October, on Discord\) => (6 October)
sub the Tools bar and About dialog carry the ArtCraft mark => the Tools bar and About dialog carry the app mark
forbid (?i)artcraft(?! Team and the EffectCraft contributors)
forbid (?i)discord
sub ffmpeg export, Discord presence, => ffmpeg export,
dropline ^crates/ui-egui/src/i18n(?:\.rs|/ui\.rs)$ :: \s*\(".*(?:ArtCraft|Discord)
sub (?m)^    \(\n        "[^"\n]*ArtCraft[^"\n]*",\n        "[^"\n]*",\n    \),\n =>
sub \(#612, reported on Discord\) => (#612, reported by a user)
sub Reported on Discord: => Reported by a user:
