no message

This commit is contained in:
2024-10-07 22:04:09 +03:00
parent 7fac84740d
commit 17c0bf7eb3
103 changed files with 560 additions and 491 deletions

View File

@@ -48,7 +48,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
@Override
protected boolean canStart(Object... args) throws Exception {
target = Current.getProject();
if (Global.isWindows) {
if (CommonUtils.isWindows) {
//--
makepath = Global.db.settings.get(SettingName.LocalMakePathWindows).toString();
if (makepath.isEmpty()) {
@@ -184,7 +184,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
}
@Override
protected void body() throws Exception {
if (Global.isWindows) {
if (CommonUtils.isWindows) {
name_to_kill = "make.exe";
StartProcess(CommonUtils.DQuotes(Global.db.settings.get(SettingName.LocalMakePathWindows).Value) + " -j " + Global.db.settings.get(SettingName.Kernels).toString(),
target.compilation_maxtime);
@@ -246,7 +246,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
}
@Override
public void Interrupt() throws Exception {
if (Global.isWindows) {
if (CommonUtils.isWindows) {
if (!name_to_kill.isEmpty()) {
killed = true;
Process killer = Runtime.getRuntime().exec("taskkill /FI \"IMAGENAME eq " + name_to_kill + "\" /F /T");