Skip to content

Commit

Permalink
Remove neodrag, bump version, remove debug from popup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kernocal committed Sep 4, 2022
1 parent 03a0a7e commit fce9958
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 24 deletions.
9 changes: 5 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Audio mixer",
"description": "Apply audio presets such as Nightcore or (slowed + reverb) to any website playing audio.",
"version": "1.0.2",
"version": "1.0.3",
"manifest_version": 3,
"permissions": [
"activeTab",
Expand All @@ -15,9 +15,10 @@
"48": "icon/favicon.png"
},
"action": {
"default_title": "Audio mixer",
"default_popup": "index.html",
"default_icon": "icon/favicon.png"},
"default_title": "Audio mixer",
"default_popup": "index.html",
"default_icon": "icon/favicon.png"
},
"options_page": "options.html",
"background": {
"service_worker": "scripts/background.js",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "audio-mixer",
"version": "1.0.2",
"version": "1.0.3",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand All @@ -16,8 +16,5 @@
"sveltekit-adapter-browser-extension": "^0.3.0",
"vite-plugin-windicss": "^1.8.7"
},
"type": "module",
"dependencies": {
"@neodrag/svelte": "^1.2.3"
}
"type": "module"
}
25 changes: 12 additions & 13 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,18 @@
window.close();
}
// if (browser) {
// getStorage("preset").then((storedPreset) => {activePreset = storedPreset ?? activePreset;});
// chrome.runtime.sendMessage({
// message: 'start-playing',
// }, (response) => {
// if (["Playing.", "Already playing."].includes(response.message)) {
// disabled = false;
// updateValues(response, "local");
// }
// status = response.message;
// })
// }
disabled = false;
if (browser) {
getStorage("preset").then((storedPreset) => {activePreset = storedPreset ?? activePreset;});
chrome.runtime.sendMessage({
message: 'start-playing',
}, (response) => {
if (["Playing.", "Already playing."].includes(response.message)) {
disabled = false;
updateValues(response, "local");
}
status = response.message;
})
}
</script>
Expand Down

0 comments on commit fce9958

Please sign in to comment.