mirror of
https://github.com/Mylloon/obs-replay-folders.git
synced 2024-11-09 17:57:01 +01:00
trim unreal engine naming convention
This commit is contained in:
parent
a8223cc90a
commit
08ecda10fe
1 changed files with 6 additions and 1 deletions
|
@ -57,7 +57,12 @@ function get_running_game_title()
|
|||
end
|
||||
i = i - 1
|
||||
end
|
||||
return result:sub(i + 1, max)
|
||||
local title = result:sub(i + 1, max)
|
||||
|
||||
-- Trim "-Win64-Shipping" if it exists
|
||||
local trimmed_title = title:gsub("-Win64%-Shipping$", "")
|
||||
|
||||
return trimmed_title
|
||||
end
|
||||
|
||||
function move(path, folder)
|
||||
|
|
Loading…
Reference in a new issue