From 3acf4301f09ffa5150032e43ba1916432bcf841f Mon Sep 17 00:00:00 2001 From: b1rdmania <102524336+b1rdmania@users.noreply.github.com> Date: Mon, 29 Dec 2025 14:57:23 +0000 Subject: [PATCH] Update X share tweet format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "I made [title] Game Boy version. Made in Wario Synth by @b1rdmania [link]" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index ca5bf8c..1e072f1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -788,8 +788,8 @@ class MotifApp { shareUrl = window.location.href; } - // Compose tweet text - const tweetText = `I made ${title} game boy version. Click to listen or generate your own, made in Wario Synth by @b1rdmania`; + // Compose tweet text - URL will be inserted by Twitter between the two parts + const tweetText = `I made ${title} Game Boy version.\n\nMade in Wario Synth by @b1rdmania`; const twitterUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}&url=${encodeURIComponent(shareUrl)}`; window.open(twitterUrl, '_blank', 'width=550,height=420');