-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVersion.lua
28 lines (17 loc) · 1.13 KB
/
Version.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--------------------------------------------------------------------------------
---------------------------------- DokusCore -----------------------------------
--------------------------------------------------------------------------------
-- DO NOT: Remove the version updater below! This is what gives you feetback
-- when there is a new update available. Removing will result in the system
-- unable to check for updates, and will result in startup errors.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CreateThread(function()
local Name = GetCurrentResourceName()
local Version = GetResourceMetadata(Name, 'version')
TriggerEvent('DokusCore:Sync:Modules:Version', { Name, { Version } })
end)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------