@extends('layouts.updater') @Push('updater-body')
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal or env('JOIN_BETA') === true) @if($_SERVER['QUERY_STRING'] === '')
Logo
l

Windows Updater

@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') @if(env('JOIN_BETA') === true)

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

@else

You can update your installation automatically or download the update and install it manually:

Windows users can use the alternative updater. This updater won't create a backup. Use at your own discretion.
@endif
   
@else @if(env('JOIN_BETA') === true)

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

@else

You can update your installation automatically or download the update and install it manually:

@endif
@if(env('SKIP_UPDATE_BACKUP') == true)    @else    @endif  
@endif @endif @if($_SERVER['QUERY_STRING'] === 'updating-windows' and strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
Logo
l

Updating

@Push('updater-head') @endpush @endif @if($_SERVER['QUERY_STRING'] === 'updating-windows-bat' and strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') open(base_path() . '/storage/update.zip'); $zip->extractTo(base_path()); $zip->close(); unlink(base_path() . '/storage/update.zip'); echo "current() . "/?finishing\" />"; ?> @endif @if($_SERVER['QUERY_STRING'] === 'backup') @Push('updater-head') @endpush
Logo
l

Creating backup

@endif @if($_SERVER['QUERY_STRING'] === 'backups') true]); $tst = base_path('backups/'); file_put_contents($tst.'CANUPDATE', ''); $URL = Route::current()->getName(); header("Location: ".$URL."?updating"); exit(); ?> @endif @if($_SERVER['QUERY_STRING'] === 'updating' and (file_exists(base_path("backups/CANUPDATE")) or env('SKIP_UPDATE_BACKUP') == true))
Logo
l

Updating

@Push('updater-head') @endpush @endif @elseif($_SERVER['QUERY_STRING'] === '')
Logo
l

No new version

There is no new version available


@endif @if($_SERVER['QUERY_STRING'] === 'finishing')
Logo
l

Finishing up

@include('components.finishing') @endif @if($_SERVER['QUERY_STRING'] === 'success')
Logo
l

Success!

@if(env('JOIN_BETA') === true)

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

@else

The update was successful, you can now return to the Admin Panel.

View the release notes
@endif
  @if(env('JOIN_BETA') === true)    @endif
@endif @if($_SERVER['QUERY_STRING'] === 'error')
Logo
l

Error

Something went wrong with the update :(


@endif
@endpush