Skip to content

Commit 336427b

Browse files
committed
Update update.blade.php
1 parent 2f2ad08 commit 336427b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

resources/views/update.blade.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
@else
3737
&ensp;<a class="btn" href="{{url()->current()}}/?backup"><button><i class="fa-solid fa-user-gear btn"></i> Update automatically</button></a>&ensp;
3838
@endif
39-
&ensp;<a class="btn" href="https://littlelink-custom.com/update"><button><i class="fa-solid fa-download btn"></i> Update manually</button></a>&ensp;
39+
&ensp;<a class="btn" href="https://littlelink-custom.com/update" target="_blank"><button><i class="fa-solid fa-download btn"></i> Update manually</button></a>&ensp;
4040
</div>
4141
@endif
4242

@@ -120,9 +120,19 @@
120120
<div class="logo-centered">l</div>
121121
</div>
122122
<h1>Success!</h1>
123+
@if(env('JOIN_BETA') === true)
124+
<p><?php echo "latest beta version= " . file_get_contents("https://update.littlelink-custom.com/beta/vbeta.json"); ?></p>
125+
<p><?php if(file_exists(base_path("vbeta.json"))) {echo "installed beta version= " . file_get_contents(base_path("vbeta.json"));} else {echo "installed beta version= none";} ?></p>
126+
<p><?php if($Vgit > $Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?></p>
127+
@else
123128
<h4 class="">The update was successful, you can now return to the Admin Panel:</h4>
129+
@endif
124130
<br><div class="row">
125131
&ensp;<a class="btn" href="{{ route('studioIndex') }}"><button><i class="fa-solid fa-house-laptop btn"></i> Admin Panel</button></a>&ensp;
132+
133+
@if(env('JOIN_BETA') === true)
134+
&ensp;<a class="btn" href="{{url()->current()}}/"><button><i class="fa-solid fa-arrow-rotate-right btn"></i> Run again</button></a>&ensp;
135+
@endif
126136
</div>
127137

128138
@endif

0 commit comments

Comments
 (0)