Update version + cleaning up

This commit is contained in:
danpros 2024-06-02 19:08:31 +07:00
commit 5226e9c01c
33 changed files with 56 additions and 38 deletions

View file

@ -54,5 +54,10 @@ if (empty($updater->getNewestInfo())) {
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
echo '</div>';
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
if (config('show.version') == 'false') {
if(file_exists('cache/installedVersion.json')) {
unlink('cache/installedVersion.json');
}
}
}
}