Initial commit

This commit is contained in:
Sainan 2025-06-02 01:41:20 +02:00
commit 6bd91573df
3 changed files with 30 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
int/
OpenWF/
*.exe
*.dll

3
.sun Normal file
View File

@ -0,0 +1,3 @@
+*.cpp
name Bootstrapper Setup
arg -O3

23
main.cpp Normal file
View File

@ -0,0 +1,23 @@
#include <filesystem>
int main()
{
if (std::filesystem::exists("Warframe.x64.exe"))
{
{
std::error_code ec;
std::filesystem::create_directory("OpenWF", ec);
}
if (!std::filesystem::exists("OpenWF/Download Latest DLL.ps1"))
{
system(R"(powershell -Command "Invoke-WebRequest https://openwf.io/supplementals/Download%20Latest%20DLL.ps1 -OutFile 'OpenWF/Download Latest DLL.ps1'")");
}
system(R"(cd OpenWF && powershell -executionpolicy bypass -File "Download Latest DLL.ps1")");
}
else
{
printf("Please put this program into your Warframe installation folder (the one where Warframe.x64.exe is in) before running it.\n");
system("pause > nul");
}
}