mirror of
https://github.com/TangentFoxy/love-pe.git
synced 2025-07-28 02:02:16 +00:00
Project renaming
This commit is contained in:
4
main.lua
4
main.lua
@@ -1,13 +1,13 @@
|
||||
io.stdout:setvbuf("no")
|
||||
|
||||
local iconChanger = require("icon-changer")
|
||||
local lovePE = require("love-pe")
|
||||
|
||||
function love.load(args)
|
||||
love.graphics.setBackgroundColor(1,1,1,1)
|
||||
|
||||
local exeFile = assert(love.filesystem.newFile("love.exe","r"))
|
||||
|
||||
local iconData = iconChanger.extractIcon(exeFile)
|
||||
local iconData = lovePE.extractIcon(exeFile)
|
||||
|
||||
if iconData then
|
||||
love.filesystem.write("Extracted Icon.ico",iconData)
|
||||
|
Reference in New Issue
Block a user