commit 6bd91573df74e356f50b629010aa1c4725c16a07 Author: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon Jun 2 01:41:20 2025 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2b4639d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +int/ +OpenWF/ +*.exe +*.dll diff --git a/.sun b/.sun new file mode 100644 index 0000000..ff05f2c --- /dev/null +++ b/.sun @@ -0,0 +1,3 @@ ++*.cpp +name Bootstrapper Setup +arg -O3 diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..8bc5f3e --- /dev/null +++ b/main.cpp @@ -0,0 +1,23 @@ +#include + +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"); + } +}