PhantomSDR Support Forum

General Category => General Discussion => Topic started by: F1NSK on Feb 06, 2026, 04:07 PM

Title: Removing the version switch
Post by: F1NSK on Feb 06, 2026, 04:07 PM
Hello

I want run only V2 Analog and remove the version choice menu.  :o

Probably in app.svelte ?
I've made several mods but they don't work !  ;D  ;D

A little Help ?

73's
Title: Re: Removing the version switch
Post by: Emmanuel SV1BTL on Feb 07, 2026, 02:01 PM
Quote from: F1NSK on Feb 06, 2026, 04:07 PMI want run only V2 Analog and remove the version choice menu

  {#if !Device.isMobile}
    <VersionSelector />
  {/if}

<!--
{#if !Device.isMobile}
  <VersionSelector />
{/if}
-->
and save.


All versions are build, but in the default version there will be no more the window to select them.
Title: Re: Removing the version switch
Post by: F1NSK on Feb 07, 2026, 10:53 PM
I've made the mod but frontend won't compile... ::)

I've return to the original file. compile run ok

But now i'm sticked to error 404 !  :D  :D

My old core I5 compiled with a fresh standard files give me the same error 404

The requested URL / was not found on this server.

I'm lost !  ;D  ;D 
Title: Re: Removing the version switch
Post by: F1NSK on Feb 07, 2026, 11:36 PM
I've run install.sh from the Phantom directory.

The first time, error 404 again.
install.sh a second time an now the server work fine ....

Mistery !  ;D
Title: Re: Removing the version switch
Post by: Emmanuel SV1BTL on Feb 08, 2026, 12:16 AM
Quote from: F1NSK on Feb 07, 2026, 10:53 PMI've made the mod but frontend won't compile...

Well, it is rather difficult to understand your situation. Before writing down this solution, I've made the modification to my server and worked as expected.
There is nothing else to do, but to "say" to *.svelte file not to build the window with the function. The only thing I can suggest that a copy-paste error is done. Maybe to try once more keeping of course a backup. If any errors during compile occur, please paste them here to help me to understand.
Title: Re: Removing the version switch
Post by: F1NSK on Feb 08, 2026, 10:28 AM
Hello Emmanuel

I will make the mods on the old server and give you the feedback. Quiete and safe.  ;D

The production server is helpfull for my friends in France and they appreciate your job.

The audio spectrum is a fantastic tool for equalizer tuning !

Phantom 1s a really nice project !

73's
Title: Re: Removing the version switch
Post by: F1NSK on Feb 16, 2026, 05:58 PM
Done !

Tks Emmanuel