Update update.blade.php

This commit is contained in:
Julian Prieber 2023-06-15 20:36:18 +02:00
parent 4258d063ad
commit 53b07540cd
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@
<div class="logo-container fadein">
<img class="logo-img" src="{{ asset('assets/linkstack/images/logo.svg') }}" alt="Logo">
</div>
<h1>Updater</h1>
<h1>{{__('message.Updater')}}</h1>
@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
@if(env('JOIN_BETA') === true)
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php echo __('message.latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.Youre running the latest mainline release");} ?></p>
@else
@ -33,7 +33,7 @@
</div>
@else
@if(env('JOIN_BETA') === true)
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php echo __('message.latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.Youre running the latest mainline release");} ?></p>
@else
@ -212,7 +212,7 @@ if($debug === true){
</div>
<h1>{{__('messages.Success!')}}</h1>
@if(env('JOIN_BETA') === true)
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php echo __('message.latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.Youre running the latest mainline release");} ?></p>
@else