Skip to content

Commit 8fb1fa1

Browse files
committed
Revert servicing script changes
1 parent 3932118 commit 8fb1fa1

File tree

8 files changed

+19
-489
lines changed

8 files changed

+19
-489
lines changed

include/ServicingScript.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

include/resource.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

premake5.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ workspace "MTADiag"
77
toolset "v141_xp" -- Enable XP support
88
flags { "StaticRuntime" }
99
vectorextensions "SSE"
10-
defines { "_CRT_SECURE_NO_WARNINGS", "WIN32_LEAN_AND_MEAN" }
1110

1211
filter "configurations:Debug"
1312
targetsuffix "_d"
@@ -21,12 +20,9 @@ workspace "MTADiag"
2120

2221
project "MTADiag"
2322
language "C++"
24-
cppdialect "C++17"
23+
cppdialect "C++14"
2524
kind "ConsoleApp"
2625

27-
buildoptions { "/std:c++latest" }
28-
linkoptions { "/MANIFESTUAC:\"level='requireAdministrator' \"" }
29-
3026
defines { "BUILDING_LIBCURL" }
3127
includedirs { "include", "vendor/curl/include" }
3228
links { "curl" }
@@ -39,6 +35,5 @@ workspace "MTADiag"
3935

4036
"src/**.cpp",
4137

42-
"res/**.rc",
43-
"res/**.bat"
38+
"res/**.rc"
4439
}

res/resource.rc

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
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"
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"

0 commit comments

Comments
 (0)