Skip to content

Commit e226df2

Browse files
committed
Moved pages/welcome index + assets into subdirs ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent 6c56770 commit e226df2

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

chromium/extension/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const appReady = (async () => {
3030
// Launch WELCOME PAGE on install
3131
chrome.runtime.onInstalled.addListener(details => {
3232
if (details.reason == 'install') // to exclude updates
33-
appReady.then(({ app }) => chrome.tabs.create({ url: app.urls.welcome }))
33+
appReady.then(({ app }) => chrome.tabs.create({ url: app.urls.welcome + '/chromium' }))
3434
})
3535

3636
// Sync SETTINGS/MODES to activated tabs
File renamed without changes.
File renamed without changes.

pages/welcome/index.html renamed to pages/welcome/chromium/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="preload" as="image" href="https://assets.chatgptwidescreen.com/images/screenshots/chrome/pin-instructions/large/step-1-2.png?v=412cf09">
1010
<link rel="preload" as="image" href="https://assets.chatgptwidescreen.com/images/screenshots/chrome/pin-instructions/large/step-3.png?v=80904b0">
1111
<link rel="icon" type="image/x-icon" href="https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon32.png?v=c12b806">
12-
<link rel="stylesheet" href="styles.css">
12+
<link rel="stylesheet" href="../assets/styles.css">
1313
</head>
1414
<body>
1515
<div class="main">
@@ -21,7 +21,7 @@ <h1>
2121
<p>Click the extension icon (3) to access settings (more appear if on AI site):</p>
2222
<img src="https://assets.chatgptwidescreen.com/images/screenshots/chrome/pin-instructions/large/step-3.png?v=80904b0" alt="Click extension icon">
2323
</div>
24-
<script src="fade-elems.js"></script>
24+
<script src="../assets/fade-elems.js"></script>
2525
</body>
2626
<footer>
2727
<div class="footer-links"><a href="https://aiwebextensions.com">More AI extensions</a></div>

0 commit comments

Comments
 (0)