Skip to content

Commit

Permalink
Fix update check for manager
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Aug 6, 2024
1 parent aa625dc commit 3884278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap/manager/src/ui/src/settings/AboutPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ function AboutPanel () {
fetch('/api/info').then((res) => res.json()).then((data) => {
setInfo(data)

const versionNumber = data.version.split(' ')[0]
if (versionNumber === 'DEV') return
if (!data.version.startsWith('build')) return
const versionNumber = data.version.split(' ')[1]

// Check for updates
fetch('https://api.github.com/repos/rtm516/MCXboxBroadcast/releases?per_page=1').then((res) => res.json()).then((data) => {
Expand Down

0 comments on commit 3884278

Please sign in to comment.