Merge branch 'main' into translations-system
This commit is contained in:
+3
-3
@@ -41,7 +41,7 @@ class Main {
|
||||
dDoc: [
|
||||
"Usage: test <optional args>",
|
||||
"",
|
||||
"This will create a quick debug build binded to the source then run it, which means:",
|
||||
"This will create a quick debug build connected to the source then run it, which means:",
|
||||
"- The assets WON'T be copied over - Assets will be read from the game's source.",
|
||||
"- This build WON'T be ready for release - Running anywhere else than in the bin folder will result in a crash from missing assets",
|
||||
"- This build will also use the mods folder from the source directory.",
|
||||
@@ -59,7 +59,7 @@ class Main {
|
||||
dDoc: [
|
||||
"Usage: build <optional arguments>",
|
||||
"",
|
||||
"This will create a quick debug build binded to the source then run it, which means:",
|
||||
"This will create a quick debug build connected to the source then run it, which means:",
|
||||
"- The assets WON'T be copied over - Assets will be read from the game's source.",
|
||||
"- This build WON'T be ready for release - Running anywhere else than in the bin folder will result in a crash from missing assets",
|
||||
"- This build will also use the mods folder from the source directory.",
|
||||
@@ -103,7 +103,7 @@ class Main {
|
||||
"",
|
||||
"This will optimize a JSON file, which means it will remove all unnecessary spacing from the file.",
|
||||
"WARNING: Order might be lost.",
|
||||
"WARNING: Comments arent supported.",
|
||||
"WARNING: Comments aren't supported.",
|
||||
"",
|
||||
"-O | --no-old : No Old file will be created.",
|
||||
].join("\n")
|
||||
|
||||
@@ -271,13 +271,13 @@ class Setup {
|
||||
prettyPrint("Installing Microsoft Visual Studio Community (Dependency)");
|
||||
|
||||
// thanks to @crowplexus for these two lines! - Nex
|
||||
Sys.command("curl -# -O https://download.visualstudio.microsoft.com/download/pr/3105fcfe-e771-41d6-9a1c-fc971e7d03a7/8eb13958dc429a6e6f7e0d6704d43a55f18d02a253608351b6bf6723ffdaf24e/vs_Community.exe");
|
||||
Sys.command("vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p");
|
||||
command("curl -# -O https://download.visualstudio.microsoft.com/download/pr/3105fcfe-e771-41d6-9a1c-fc971e7d03a7/8eb13958dc429a6e6f7e0d6704d43a55f18d02a253608351b6bf6723ffdaf24e/vs_Community.exe");
|
||||
command("vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p");
|
||||
|
||||
FileSystem.deleteFile("vs_Community.exe");
|
||||
prettyPrint('If it didn\'t say it before: Because of this component if you want to compile you have to restart the device.');
|
||||
Sys.print("Do you wish to do it now [y/n]? ");
|
||||
if(Sys.stdin().readLine().toLowerCase() == "y") Sys.command("shutdown /r /t 0 /f");
|
||||
if(Sys.stdin().readLine().toLowerCase() == "y") command("shutdown /r /t 0 /f");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user