Skip to content

Commit 4f80440

Browse files
committed
Eliminated reliance on dynamic app.urls.assetHost from static toggles.sidebar.update.navicon() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-talk]
1 parent 524fbe7 commit 4f80440

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.5.12
228+
// @version 2025.5.12.1
229229
// @license MIT
230230
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
231231
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -292,7 +292,6 @@
292292
onload: resp => resolve(JSON.parse(resp.responseText))
293293
}))
294294
Object.assign(app, { ...remoteAppData, urls: { ...app.urls, ...remoteAppData.urls }})
295-
app.urls.assetHost = app.urls.assetHost.replace('@latest', `@${app.latestResourceCommitHash}`)
296295
app.msgs = {
297296
appName: app.name,
298297
appAuthor: app.author.name,
@@ -859,7 +858,7 @@
859858
update: {
860859

861860
navicon({ preload = false } = {}) {
862-
const baseURL = `${app.urls.assetHost}/images/icons/soundwave`,
861+
const baseURL = 'https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@397297d/assets/images/icons/soundwave',
863862
stateMap = { enabled: 'tall', disabled: '' },
864863
schemeMap = { light: 'black', dark: 'white' }
865864
if (preload)

0 commit comments

Comments
 (0)