Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix: update x.com selectors and default URL for issue #1168
Tw93f18fa2886172
diff --git a/default_app_list.json b/default_app_list.jsonindex 7ff73ea2..64954fcc 100644--- a/default_app_list.json+++ b/default_app_list.json@@ -33,7 +33,7 @@"name": "twitter","title": "Twitter","name_zh": "推特",- "url": "https://twitter.com/"+ "url": "https://x.com/"},{"name": "youtube",diff --git a/dist/cli.js b/dist/cli.jsindex 73066f66..1a8ce3c4 100644--- a/dist/cli.js+++ b/dist/cli.js@@ -429,7 +429,7 @@ async function combineFiles(files, output) {return `window.addEventListener('DOMContentLoaded', (_event) => {const css = ${JSON.stringify(fileContent)};const style = document.createElement('style');- style.innerHTML = css;+ style.textContent = css;document.head.appendChild(style);});`;}diff --git a/src-tauri/src/inject/style.js b/src-tauri/src/inject/style.jsindex 5b268cfc..ca89adc5 100644--- a/src-tauri/src/inject/style.js+++ b/src-tauri/src/inject/style.js@@ -119,15 +119,18 @@ window.addEventListener("DOMContentLoaded", (_event) => {#react-root [data-testid="placementTracking"] article,#react-root a[href*="quick_promote_web"],- #react-root [data-testid="AppTabBar_Explore_Link"],#react-root a[href*="/lists"][role="link"][aria-label],#react-root a[href*="/i/communitynotes"][role="link"][aria-label],#react-root a[role="link"][aria-label="Communities"],+ #react-root a[role="link"][aria-label="Premium"],+ #react-root a[role="link"][aria-label="SuperGrok"],#react-root a[href*="/i/verified-orgs-signup"][role="link"][aria-label] {display: none !important;}#react-root [data-testid="DMDrawer"],+ #react-root [data-testid="GrokDrawer"],+ #react-root [data-testid="chat-drawer-root"],#root > main > footer.justify-center.ease-in {visibility: hidden !important;}