-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update how the MFM FU version is printed
- Loading branch information
1 parent
6bdabc7
commit 600539a
Showing
5 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"author" : "ColonolNutty", | ||
"friendlyName" : "CN More Farming - Frackin' Universe", | ||
"version" : "v1.1.24" | ||
"version" : "v1.1.25" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
{ "op": "add", "path" : "/deploymentConfig/scripts/-", "value" : "/scripts/mfmfu_player_init.lua"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
local origInit = init; | ||
|
||
function init() | ||
origInit(); | ||
sb.logInfo("----- MFM player init -----"); | ||
local metadata = root.assetJson("/_MFMversioning.config") | ||
if(metadata) then | ||
sb.logInfo("Running with " .. metadata.friendlyName .. " " .. metadata.version) | ||
end | ||
end |