File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --[[
2+ Do not change any thing in the current file,
3+ it's just there to show what objects are injected by vfox and what they do.
4+
5+ It's just handy when developing plugins, IDE can use this object for code hints!
6+ --]]
7+ RUNTIME = {
8+ --- Operating system type at runtime (Windows, Linux, Darwin)
9+ osType = " " ,
10+ --- Operating system architecture at runtime (amd64, arm64, etc.)
11+ archType = " " ,
12+ --- vfox runtime version
13+ version = " " ,
14+ }
15+
Original file line number Diff line number Diff line change 1+ local util = require (" util" )
2+
13--- Return all available versions provided by this plugin
24--- @param ctx table Empty table used as context , for future extension
35--- @return table Descriptions of available versions and accompanying tool descriptions
46function PLUGIN :Available (ctx )
7+ util :DoSomeThing ()
58 local runtimeVersion = ctx .runtimeVersion
69 return {
710 {
You can’t perform that action at this time.
0 commit comments