Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #252 from MortenTobiasNielsen/BumpVersion
Browse files Browse the repository at this point in the history
Bumped version to 3.0
  • Loading branch information
MortenTobiasNielsen authored Apr 20, 2023
2 parents ce6442b + ea7049f commit d027dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/GenerateScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ void GenerateScript::UnexpectedError(DialogProgressBar* dialog_progress_bar, int

void GenerateScript::AddInfoFile(string& folder_location)
{
auto software_version = "0.1.1";

std::ofstream saver;

saver.open(folder_location + "\\info.json");

saver << "{";
saver << "\n\t\"name\": \"" << folder_location.substr(folder_location.rfind("\\") + 1) << "\",";
saver << "\n\t\"version\": \"" << software_version << "\",";
saver << "\n\t\"version\": \"" << generator_thumbprint.version << "\",";
saver << "\n\t\"title\": \"" << folder_location.substr(folder_location.rfind("\\") + 1) << "\",";
saver << "\n\t\"author\": \"" << "DunRaider" << "\",";
saver << "\n\t\"factorio_version\": \"" << "1.1" << "\",";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static const double invalidX = 0.3543534;
static const struct
{
string name = "Factorio TAS Generator";
string version = "0.2.1";
string version = "0.3.0";
} generator_thumbprint;

static const vector<string> fuel_list = {
Expand Down

0 comments on commit d027dcd

Please sign in to comment.