diff --git a/build.mjs b/build.mjs index 051b850..c4846f1 100644 --- a/build.mjs +++ b/build.mjs @@ -21,13 +21,6 @@ async function spawn(exec, opts) { }); } -const expectedLibs = ["drop-base/package.json"]; - -for (const lib of expectedLibs) { - const path = `./libs/${lib}`; - if (!fs.existsSync(path)) throw `Missing "${expectedLibs}". Run "git submodule update --init --recursive"`; -} - const views = fs.readdirSync(".").filter((view) => { const expectedPath = `./${view}/package.json`; return fs.existsSync(expectedPath); diff --git a/main/app.vue b/main/app.vue index 1594dd6..7d4165f 100644 --- a/main/app.vue +++ b/main/app.vue @@ -1,5 +1,5 @@ diff --git a/main/composables/downloads.ts b/main/composables/downloads.ts index f9ab1cd..d75c46f 100644 --- a/main/composables/downloads.ts +++ b/main/composables/downloads.ts @@ -32,5 +32,3 @@ listen("update_stats", (event) => { const stats = useStatsState(); stats.value = event.payload as StatsState; }); - -export const useDownloadHistory = () => useState>('history', () => []); \ No newline at end of file diff --git a/main/pages/queue.vue b/main/pages/queue.vue index 30eb886..8d5c4ef 100644 --- a/main/pages/queue.vue +++ b/main/pages/queue.vue @@ -4,18 +4,18 @@ class="h-16 overflow-hidden relative rounded-xl flex flex-row border border-zinc-900" >
- {{ formatKilobytes(stats.speed) }}B/s - {{ formatKilobytes(stats.speed) }}/s + {{ formatTime(stats.time) }} left
-
+
@@ -62,9 +62,9 @@ class="mt-2 inline-flex items-center gap-x-1 text-zinc-400 text-sm font-display" >{{ formatKilobytes(element.current / 1000) - }}B + }} / - {{ formatKilobytes(element.max / 1000) }}B{{ formatKilobytes(element.max / 1000) }}
@@ -91,7 +91,7 @@