File tree Expand file tree Collapse file tree 8 files changed +486
-16
lines changed Expand file tree Collapse file tree 8 files changed +486
-16
lines changed Original file line number Diff line number Diff line change
1
+ /* ****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: ServicingScript.h
6
+ * PURPOSE: Servicing script launcher
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #pragma once
12
+ #include < string>
13
+
14
+ class ServicingScript
15
+ {
16
+ public:
17
+ ServicingScript () = default ;
18
+
19
+ void Run ();
20
+
21
+ private:
22
+ std::string GetScriptContent ();
23
+ };
Original file line number Diff line number Diff line change
1
+ /*****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: resource.h
6
+ * PURPOSE: Resource header file
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #define TEXTFILE 256
12
+ #define IDR_SERVICING_SCRIPT 101
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ workspace "MTADiag"
7
7
toolset " v141_xp" -- Enable XP support
8
8
flags { " StaticRuntime" }
9
9
vectorextensions " SSE"
10
+ defines { " _CRT_SECURE_NO_WARNINGS" , " WIN32_LEAN_AND_MEAN" }
10
11
11
12
filter " configurations:Debug"
12
13
targetsuffix " _d"
@@ -20,9 +21,12 @@ workspace "MTADiag"
20
21
21
22
project " MTADiag"
22
23
language " C++"
23
- cppdialect " C++14 "
24
+ cppdialect " C++17 "
24
25
kind " ConsoleApp"
25
26
27
+ buildoptions { " /std:c++latest" }
28
+ linkoptions { " /MANIFESTUAC:\" level='requireAdministrator' \" " }
29
+
26
30
defines { " BUILDING_LIBCURL" }
27
31
includedirs { " include" , " vendor/curl/include" }
28
32
links { " curl" }
Original file line number Diff line number Diff line change 1
- /////////////////////////////////////////////////////////////////////////////
2
-
3
- //
4
-
5
- // Icon
6
-
7
- //
8
-
9
-
10
-
11
- // Icon with lowest ID value placed first to ensure application icon
12
-
13
- // remains consistent on all systems.
14
-
15
- IDI_APPLICATION ICON "MTADiag.ico"
1
+ /*****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: resource.rc
6
+ * PURPOSE: Resource file
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #include "resource.h"
12
+
13
+ IDI_APPLICATION ICON "MTADiag.ico" // Icon with lowest ID value placed first to ensure application icon remains consistent on all systems.
14
+ IDR_SERVICING_SCRIPT TEXTFILE "servicing.bat"
You can’t perform that action at this time.
0 commit comments