2024-01-07 02:41:10 +08:00
|
|
|
|
using CodeWalker.Core.Utils;
|
|
|
|
|
using CodeWalker.GameFiles;
|
2020-01-27 20:03:44 +08:00
|
|
|
|
using CodeWalker.Properties;
|
2024-01-07 02:41:10 +08:00
|
|
|
|
using CodeWalker.Utils;
|
2020-01-27 20:03:44 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace CodeWalker.Peds
|
|
|
|
|
{
|
|
|
|
|
static class Program
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[STAThread]
|
|
|
|
|
static void Main()
|
|
|
|
|
{
|
|
|
|
|
//Process.Start("CodeWalker.exe", "peds");
|
|
|
|
|
|
2024-01-07 02:41:10 +08:00
|
|
|
|
if (!NamedPipe.TrySendMessageToOtherProcess("peds-mode"))
|
|
|
|
|
{
|
|
|
|
|
ConsoleWindow.Hide();
|
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
|
Application.Run(new PedsForm());
|
2020-01-27 20:03:44 +08:00
|
|
|
|
|
2024-01-07 02:41:10 +08:00
|
|
|
|
GTAFolder.UpdateSettings();
|
|
|
|
|
}
|
2020-01-27 20:03:44 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|