If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Removing the version switch

Started by F1NSK, Feb 06, 2026, 04:07 PM

Previous topic - Next topic

F1NSK

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

Emmanuel SV1BTL

#1
Quote from: F1NSK on Feb 06, 2026, 04:07 PMI want run only V2 Analog and remove the version choice menu

  • Choose what app.svelte you'll use - in your case App__v2_analog_smeter_.svelte.
  • Open an editor and find this section (around line 3615:
  {#if !Device.isMobile}
    <VersionSelector />
  {/if}

  • Comment it:
<!--
{#if !Device.isMobile}
  <VersionSelector />
{/if}
-->
and save.

  • Recompile frontend as usual, selecting THIS .svelte to be your default. Select ALL when prompt.

All versions are build, but in the default version there will be no more the window to select them.

F1NSK

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 

F1NSK

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

Emmanuel SV1BTL

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.

Powered by EzPortal