Actualizado Makefile para crear releases. Ejecutable pasa a estar en la raíz

This commit is contained in:
2022-11-11 18:55:28 +01:00
parent 7ab81eaf29
commit a3599d2d3d
9 changed files with 271 additions and 117 deletions

View File

@@ -1,9 +1,9 @@
#include "asset.h"
// Constructor
Asset::Asset(std::string path)
Asset::Asset(std::string executablePath)
{
executablePath = path;
this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/"));
longestName = 0;
}

View File

@@ -46,7 +46,7 @@ private:
public:
// Constructor
Asset(std::string path);
Asset(std::string executablePath);
// Destructor
~Asset();