Skip to content

Commit

Permalink
uhh gotta restart my pc from that memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
DillyzThe1 committed Jan 6, 2023
1 parent 1ab5e9d commit 414ad29
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Debug/*
RECOVER_*.fla
DRAPI-Mod-Manager/tinyfiledialogs.*
DRAPI-Mod-Manager/json.hpp
DRAPI-Mod-Manager/miniz.*
2 changes: 2 additions & 0 deletions DRAPI-Mod-Manager/DRAPI-Mod-Manager.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
<ClCompile Include="miniz.c" />
<ClCompile Include="tinyfiledialogs.c" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -237,6 +238,7 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="json.hpp" />
<ClInclude Include="miniz.h" />
<ClInclude Include="tinyfiledialogs.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
6 changes: 6 additions & 0 deletions DRAPI-Mod-Manager/DRAPI-Mod-Manager.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<ClCompile Include="tinyfiledialogs.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="miniz.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<CopyFileToFolders Include="dlls\x64\openal32.dll">
Expand Down Expand Up @@ -64,5 +67,8 @@
<ClInclude Include="json.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="miniz.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
7 changes: 4 additions & 3 deletions DRAPI-Mod-Manager/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,21 @@ bool locateexe() {
int funnybytes[256]{0};
for (int i = 0; i < 256; i++)
funnybytes[i] = 0;
ifstream biezipstream(launcherdatapath, ios::in | ios::out | ios::binary);
ifstream biezipstream(bepinexzippath, ios::in | ios::out | ios::binary);
//string biezip = biezipstream.read();
int inlen{0};
char indata;
cout << "-- data --" << endl;
string out = "";
biezipstream.
while (!biezipstream.eof())
{
indata = biezipstream.get();
//cout << indata << endl;
out += indata;
inlen++;
}
cout << out << endl << "-- end --" << endl;
cout << "-- end --" << endl;
biezipstream.close();
return true;
}
Expand Down Expand Up @@ -248,7 +249,7 @@ bool downloaddata() {

// download bepinex
string bepinexlink = launcherjson["bepinex"];
download(bepinexlink, bepinexzippath);
//download(bepinexlink, bepinexzippath);

// download all banners
string bannerspath = appdatapath + "\\banners";
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ An all in one launcher for all of my Among Us mods, including those of general u
- SFML [[sfml-dev.org]](https://www.sfml-dev.org/)<br>
- tinyfiledialogs [[sourceforge.net]](https://sourceforge.net/projects/tinyfiledialogs/)
- json [[github.com]](https://github.com/nlohmann/json)
- miniz [[github.com]](https://github.com/richgel999/miniz)

## Disclaimer
This launcher is not affiliated with Among Us or Innersloth LLC, and the content contained therein is not endorsed or otherwise sponsored by Innersloth LLC.<br>
Expand Down

0 comments on commit 414ad29

Please sign in to comment.