13 Commits
Author SHA1 Message Date
MrNewb d0f9fb7ca3 Update VersionChecker.lua
comment out old
2025-08-05 16:05:47 -04:00
MrNewb e1a43ed918 Restore original version checker for compatibility; refactor export logic with reduced variable passing
- Reinstated the original version checker to maintain compatibility.
- Reworked the export approach: the new export method and the legacy one are now split rather than merged.
- Patch‑note data is handled separately, as seen in the example structure at resources.json (e.g. https://github.com/MrNewb/patchnotes/blob/main/resources.json).
- Minimized variable passing by leveraging JSON template references directly, reducing redundancy.
2025-08-05 15:55:49 -04:00
MrNewb 2d02e8b0df Update VersionChecker.lua 2025-07-30 21:34:46 -04:00
MrNewb f42f853c81 Update VersionChecker.lua 2025-07-30 17:31:51 -04:00
MrNewb 69703e803f feat(version): improve version comparison and patch notes display
- Added CompareVersions function for accurate semantic version comparison.
- Refactored patch notes fetching into fetchPatchNotes, supporting both GitHub and Tebex sources.
- Improved error handling for invalid repository formats and missing version metadata.
- Enhanced update notification logic to use latest GitHub release and display patch notes for newer versions.
- Now triggers version check on resource start using updated logic.
- Fully backwards compatible
2025-07-30 14:46:27 -04:00
MrNewb 41facf0d02 Update VersionChecker.lua 2025-07-13 18:27:10 -04:00
MrNewb d2ee234278 Update VersionChecker.lua 2025-07-13 18:26:57 -04:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
MrNewb c0662e1069 version checker tweak 2025-05-09 01:59:36 -04:00
MrNewb a5bc7dcbcc Prevent confusion on github api downtime
I have been getting tickets/dms when the api is down, to prevent this I have just disabled the failure portion. This isnt ideal but I dont see alerting a server owner the api is down as a solution either.
2025-04-12 02:32:55 -04:00
MrNewb 7e9f0df74a Version.VersionChecker(repoPath, tebex)
---Pass a github username and repo name to check for the latest version of the resource.
---
---
---Tebex is a optional boolean to determine if the message should be for a escrowed resource or not.
---
---
---Example Version.VersionChecker("The-Order-Of-The-Sacred-Framework/community_bridge")
---@param repoPath string
---@param tebex boolean | nil
---@return nil
2025-03-04 17:50:47 -05:00
MrNewb 2a73e8eafa 0.3.1 2025-02-20 15:10:42 -05:00
MrNewb ec43b27770 Adjust Version Checker 2025-02-17 12:14:12 -05:00