fix release mode discrepancies
parent
88e6d48d50
commit
1dcf99b1f2
|
@ -89,7 +89,7 @@
|
||||||
"command": "ProjectName.exe"
|
"command": "ProjectName.exe"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/bin/Debug/net8.0"
|
"cwd": "${workspaceFolder}/bin/Release/net8.0"
|
||||||
},
|
},
|
||||||
"type": "process",
|
"type": "process",
|
||||||
"group": {
|
"group": {
|
||||||
|
|
|
@ -24,10 +24,16 @@ namespace ProjectName
|
||||||
Cap = 60
|
Cap = 60
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var debugMode = false;
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
debugMode = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
ProjectNameGame game = new ProjectNameGame(
|
ProjectNameGame game = new ProjectNameGame(
|
||||||
windowCreateInfo,
|
windowCreateInfo,
|
||||||
frameLimiterSettings,
|
frameLimiterSettings,
|
||||||
true
|
debugMode
|
||||||
);
|
);
|
||||||
|
|
||||||
game.Run();
|
game.Run();
|
||||||
|
|
Loading…
Reference in New Issue