mirror of
https://github.com/TangentFoxy/love-pe.git
synced 2025-07-28 02:02:16 +00:00
Removed tree writes
This commit is contained in:
@@ -629,7 +629,7 @@ function icapi.extractIcon(exeFile)
|
|||||||
ResourcesTree["GROUP_ICON"][v] = nil
|
ResourcesTree["GROUP_ICON"][v] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
writeTree(ResourcesTree,"/")
|
--writeTree(ResourcesTree,"/")
|
||||||
|
|
||||||
return FirstIcon
|
return FirstIcon
|
||||||
|
|
||||||
@@ -673,7 +673,7 @@ function icapi.replaceIcon(exeFile,icoFile,newFile)
|
|||||||
--Parse the resources data
|
--Parse the resources data
|
||||||
local ResourcesTree = readResourceDirectoryTable(exeFile,Sections,ResourcesOffset,0)
|
local ResourcesTree = readResourceDirectoryTable(exeFile,Sections,ResourcesOffset,0)
|
||||||
|
|
||||||
writeTree(ResourcesTree,"/!NEW RES/")
|
--writeTree(ResourcesTree,"/!NEW RES/")
|
||||||
|
|
||||||
local GroupID = getAnyKey(ResourcesTree["GROUP_ICON"])
|
local GroupID = getAnyKey(ResourcesTree["GROUP_ICON"])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user