From e4b0f8601af47ae12592b18a50e13e86f6bb0e76 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Thu, 18 Jan 2024 14:17:01 +0000 Subject: [PATCH] fix bridge version check looking in wrong place --- wrapper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper.lua b/wrapper.lua index 8597a34..d533173 100644 --- a/wrapper.lua +++ b/wrapper.lua @@ -21,7 +21,7 @@ OXTargetExport = Exports and Exports.OXTargetExport or "" function CheckBridgeVersion() if IsDuplicityVersion() then local currentVersion = "^3"..GetResourceMetadata("jim_bridge", 'version'):gsub("%.", "^7.^3").."^7" - PerformHttpRequest('https://raw.githubusercontent.com/jimathy/jim_bridge/duty-fixes/version.txt', function(err, newestVersion, headers) + PerformHttpRequest('https://raw.githubusercontent.com/jimathy/jim_bridge/master/version.txt', function(err, newestVersion, headers) if not newestVersion then print("^1Currently unable to run a version check for ^7'^3jim_bridge^7' ("..currentVersion.."^7)") return end newestVersion = "^3"..newestVersion:sub(1, -2):gsub("%.", "^7.^3").."^7" print(newestVersion == currentVersion and "^7'^3jim_bridge^7' - ^6You are running the latest version.^7 ("..currentVersion..")" or "^7'^3jim_bridge^7' - ^1You are currently running an outdated version^7, ^1please update^7!")