Icon file rename

This commit is contained in:
RamiLego4Game
2018-05-13 16:21:02 +03:00
parent 1d3050b60e
commit 216b04f664
2 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 396 B

View File

@@ -6,8 +6,8 @@ function love.load(args)
love.graphics.setBackgroundColor(1,1,1,1)
local exeFile = assert(love.filesystem.newFile("love.exe","r"))
local icoFile = assert(love.filesystem.newFile("test.ico","r"))
local newFile = assert(love.filesystem.newFile("result-"..os.time()..".exe","w"))
local icoFile = assert(love.filesystem.newFile("Icon.ico","r"))
local newFile = assert(love.filesystem.newFile("Patched-"..os.time()..".exe","w"))
local success = lovePE.replaceIcon(exeFile,icoFile,newFile)