From 5cc51783991ff02350fabdb59a9eeb0d88ff9209 Mon Sep 17 00:00:00 2001 From: OrigamingWasTaken <74014262+OrigamingWasTaken@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:42:02 +0200 Subject: [PATCH] Finished delegate feature (launching from web) --- .../main/components/LoadingSpinner.svelte | 40 +++++---------- .../windows/main/components/Onboarding.svelte | 2 +- .../main/components/flag-editor/editor.svelte | 4 +- .../windows/main/components/settings/files.ts | 6 +-- .../main/components/settings/panel.svelte | 22 ++++++-- frontend/src/windows/main/pages/Roblox.svelte | 34 ++++++++++--- frontend/src/windows/main/ts/libraries.ts | 10 ++-- .../src/windows/main/ts/roblox/delegate.ts | 51 +++++++++++++++++++ frontend/src/windows/main/ts/roblox/fflags.ts | 4 -- frontend/src/windows/main/ts/roblox/index.ts | 2 + .../src/windows/main/ts/roblox/instance.ts | 20 +++++--- frontend/src/windows/main/ts/roblox/launch.ts | 2 +- frontend/src/windows/main/ts/roblox/utils.ts | 25 --------- 13 files changed, 134 insertions(+), 88 deletions(-) create mode 100644 frontend/src/windows/main/ts/roblox/delegate.ts diff --git a/frontend/src/windows/main/components/LoadingSpinner.svelte b/frontend/src/windows/main/components/LoadingSpinner.svelte index ef326df..9aacbc2 100644 --- a/frontend/src/windows/main/components/LoadingSpinner.svelte +++ b/frontend/src/windows/main/components/LoadingSpinner.svelte @@ -1,26 +1,14 @@ - - - + + +{#await sleep(500)} +
+{:then} + Loading gif +{/await} diff --git a/frontend/src/windows/main/components/Onboarding.svelte b/frontend/src/windows/main/components/Onboarding.svelte index b2094ad..fcd31cd 100644 --- a/frontend/src/windows/main/components/Onboarding.svelte +++ b/frontend/src/windows/main/components/Onboarding.svelte @@ -100,7 +100,7 @@