Initial commit
This commit is contained in:
commit
6bd91573df
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
int/
|
||||||
|
OpenWF/
|
||||||
|
*.exe
|
||||||
|
*.dll
|
23
main.cpp
Normal file
23
main.cpp
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user