From 32ff1dc1609c7169fa0e322cbd0a5d888ea40530 Mon Sep 17 00:00:00 2001 From: RamiLego4Game Date: Fri, 11 May 2018 10:55:26 +0300 Subject: [PATCH] Project renaming --- conf.lua | 2 +- icon-changer.lua => love-pe.lua | 4 ++-- main.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename icon-changer.lua => love-pe.lua (99%) diff --git a/conf.lua b/conf.lua index 01b43ea..8146b5c 100644 --- a/conf.lua +++ b/conf.lua @@ -1,5 +1,5 @@ function love.conf(t) - t.identity = "love-exe-icon-changer"-- The name of the save directory (string) + t.identity = "love-pe"-- The name of the save directory (string) t.appendidentity = false -- Search files in source directory before save directory (boolean) t.version = "11.1" -- The LÖVE version this game was made for (string) t.console = false -- Attach a console (boolean, Windows only) diff --git a/icon-changer.lua b/love-pe.lua similarity index 99% rename from icon-changer.lua rename to love-pe.lua index 4ac87f6..3b2e67c 100644 --- a/icon-changer.lua +++ b/love-pe.lua @@ -1,9 +1,9 @@ --love-icon-changer library by RamiLego4Game (Rami Sabbagh) --[[ - Usage: -local iconChanger = require("icon-changer") +local lovePE = require("love-pe") -local icodata = iconChanger.extractIcon(exeFile) +local icodata = lovePE.extractIcon(exeFile) - Reference: Version File Resource: https://msdn.microsoft.com/en-us/library/ms647001(v=vs.85).aspx diff --git a/main.lua b/main.lua index a40f49e..a5eb2a4 100644 --- a/main.lua +++ b/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)