0.3.1
This commit is contained in:
1 parent
a8dc8efb00
commit
2a73e8eafa
5 files changed
+5
-6
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ lua54 'yes'
|
|||||||
use_experimental_fxv2_oal 'yes'
|
use_experimental_fxv2_oal 'yes'
|
||||||
author 'The Order of the Sacred Framework'
|
author 'The Order of the Sacred Framework'
|
||||||
description 'A bridge made for the community to use as a base for their own projects. This bridge will allow a single format to work with nearly all commonly used systems while still offering expandability.'
|
description 'A bridge made for the community to use as a base for their own projects. This bridge will allow a single format to work with nearly all commonly used systems while still offering expandability.'
|
||||||
version '0.3.0'
|
version '0.3.1'
|
||||||
|
|
||||||
shared_scripts {
|
shared_scripts {
|
||||||
'@ox_lib/init.lua',
|
'@ox_lib/init.lua',
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ local function QBToOxMenu(id, menu)
|
|||||||
return oxMenu
|
return oxMenu
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OpenMenu = function(id, data, useQBinput)
|
OpenMenu = function(id, data, useQBinput)
|
||||||
if useQBinput then
|
if useQBinput then
|
||||||
data = QBToOxMenu(id, data)
|
data = QBToOxMenu(id, data)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
if GetResourceState('qb-menu') ~= 'started' or (BridgeClientConfig.MenuSystem ~= "qb" and BridgeClientConfig.MenuSystem ~= "auto") then return end
|
if GetResourceState('qb-menu') ~= 'started' or (BridgeClientConfig.MenuSystem ~= "qb" and BridgeClientConfig.MenuSystem ~= "auto") then return end
|
||||||
print("Loading QB Menu")
|
--print("Loading QB Menu")
|
||||||
--- Converts an Ox menu to a QB menu.
|
--- Converts an Ox menu to a QB menu.
|
||||||
---@param id string The menu ID.
|
---@param id string The menu ID.
|
||||||
---@param menu table The Ox menu data.
|
---@param menu table The Ox menu data.
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ function Version.VersionChecker(repoPath)
|
|||||||
local latest = response.tag_name:match('%d+%.%d+%.%d+')
|
local latest = response.tag_name:match('%d+%.%d+%.%d+')
|
||||||
if not latest then return Prints.Error(failure) end
|
if not latest then return Prints.Error(failure) end
|
||||||
|
|
||||||
if latest == version then return print(('^2 %s is on the latest version.^0'):format(resource)) end
|
--if latest == version then return print(('^2 %s is on the latest version.^0'):format(resource)) end
|
||||||
|
if latest == version then return end
|
||||||
local currentVersion, latestVersion = version:gsub('%D', ''), latest:gsub('%D', '')
|
local currentVersion, latestVersion = version:gsub('%D', ''), latest:gsub('%D', '')
|
||||||
|
|
||||||
if currentVersion < latestVersion then
|
if currentVersion < latestVersion then
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
BridgeSharedConfig = {}
|
BridgeSharedConfig = {}
|
||||||
BridgeSharedConfig.Lang = "auto" -- Change this to your preferred language (must match the locale file name ex. en or fr etc)
|
BridgeSharedConfig.Lang = "auto" -- Change this to your preferred language (must match the locale file name ex. en or fr etc)
|
||||||
BridgeSharedConfig.DebugLevel = 2 -- Change this to your Debug level, 0 for none, 1 for some, 2 for all data
|
BridgeSharedConfig.DebugLevel = 0 -- Change this to your Debug level, 0 for none, 1 for some, 2 for all data
|
||||||
|
|
||||||
return BridgeSharedConfig
|
return BridgeSharedConfig
|
||||||
Reference in new issue
Block a user