Skip to content

Commit

Permalink
update ini export
Browse files Browse the repository at this point in the history
  • Loading branch information
DevonRD committed Jan 19, 2024
1 parent c4cdaef commit 3d4a54c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Motion-Profile-Mapper/Motion-Profile-Mapper/Utilities/INI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ public string toIni()
public string toJava()
{

string fileContent = "package frc.robot.constants;\n\nimport org.bytingbulldogs.bulldoglibrary.INIConfiguration.BBConstants;\n\n";
string fileContent = "package frc.robot.constants;\n\nimport org.frcteam3539.BulldogLibrary.INIConfiguration.BBConstants;\n\n";

fileContent+=$"public class {this.fileName.Replace(" ", "").Trim()} extends BBConstants"+"{"+"\n";

fileContent += "\tpublic "+this.fileName+"() {\n\t\tsuper(\""+ Properties.Settings.Default.INILocation + this.fileName+".ini\", true);\n\t\tsave();\n\t}\n";
Expand Down

0 comments on commit 3d4a54c

Please sign in to comment.