mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
attempt to fix the issue where some clients stay open after closing
This commit is contained in:
parent
6e7c2aa6a7
commit
07aca75cdc
@ -244,17 +244,25 @@ public class SecurityFuncs
|
||||
}
|
||||
}
|
||||
|
||||
private static void WorkerDoWork(Process exe, ScriptType type, int time, BackgroundWorker worker, string clientname, string mapname)
|
||||
{
|
||||
if (exe.IsRunning())
|
||||
{
|
||||
while (exe.IsRunning())
|
||||
{
|
||||
if (!exe.IsRunning())
|
||||
private static void WorkerKill(Process exe, ScriptType type, int time, BackgroundWorker worker, string clientname, string mapname)
|
||||
{
|
||||
worker.DoWork -= (obj, e) => WorkerDoWork(exe, type, time, worker, clientname, mapname);
|
||||
worker.CancelAsync();
|
||||
worker.Dispose();
|
||||
}
|
||||
|
||||
private static void WorkerDoWork(Process exe, ScriptType type, int time, BackgroundWorker worker, string clientname, string mapname)
|
||||
{
|
||||
DateTime StartTimeAfterMinute = exe.StartTime.AddMinutes(1);
|
||||
|
||||
if (exe.IsRunning())
|
||||
{
|
||||
while (exe.IsRunning())
|
||||
{
|
||||
if (exe.MainWindowHandle == null && DateTime.Now > StartTimeAfterMinute)
|
||||
{
|
||||
exe.Kill();
|
||||
WorkerKill(exe, type, time, worker, clientname, mapname);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -11,10 +11,10 @@ INFORMATION
|
||||
-------------------------------
|
||||
|
||||
[What is Novetus?]
|
||||
Novetus is a free, multi-version ROBLOX client launcher
|
||||
Novetus is a free and open source multi-version ROBLOX client launcher
|
||||
built to allow the user to run LAN and Internet servers.
|
||||
|
||||
Novetus was made to improve on my previous project, RBXLegacy,
|
||||
Novetus was made as a successor to my old RBXLegacy project,
|
||||
with the addition of new features that enhance the launcher for mod development,
|
||||
player customization, and overall usability.
|
||||
|
||||
@ -40,13 +40,14 @@ Enhancements from RBXLegacy The Final Update 1.16.2 & 1.18.1:
|
||||
- Largely reworked codebase
|
||||
- Custom player icons
|
||||
- A command-line utility for hosting servers.
|
||||
- Addon support.
|
||||
- Addon support (Mod Packages and support for addon LUA scripts with a built in scripting API)
|
||||
- 2006 Color presets!
|
||||
- More character colors.
|
||||
- Graphical Options menu with Automatic and Custom options.
|
||||
- ReShade integration.
|
||||
- Online clothing support with customizable clothing providers.
|
||||
- 2 styles; an Extended style for easy access to options, and a Compact style.
|
||||
- 3 styles; an Extended style for easy access to options, a Compact style resembling the original RBXLegacy, and a default Stylish style built for
|
||||
accessibility and nostalgic style.
|
||||
- Lite version.
|
||||
- Much more stable.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
1.3 Snapshot v22.8259.17635.1
|
||||
Fixes:
|
||||
- Made it so Novetus closes any open client process after 1 minute of not showing a window
|
||||
- This should fix issues with older clients staying open in the background after closing.
|
||||
----------------------------------------------------------------------------
|
||||
1.3 v8.2022.1
|
||||
Changes from 1.3 v2.2022.1:
|
||||
Notes:
|
||||
|
@ -5,9 +5,9 @@ DefaultMap=Dev - Baseplate2048.rbxl
|
||||
UserAgentRegisterClient1=2007M
|
||||
UserAgentRegisterClient2=2010L
|
||||
ExtendedVersionNumber=True
|
||||
ExtendedVersionEditChangelog=False
|
||||
ExtendedVersionTemplate=%version% v8.2022.%extended-revision%%lite%
|
||||
//ExtendedVersionTemplate=%version% Snapshot v22.%build%.%revision%.%extended-revision%
|
||||
ExtendedVersionEditChangelog=True
|
||||
//ExtendedVersionTemplate=%version% v8.2022.%extended-revision%%lite%
|
||||
ExtendedVersionTemplate=%version% Snapshot v22.%build%.%revision%.%extended-revision%
|
||||
ExtendedVersionRevision=1
|
||||
IsLite=False
|
||||
InitialBootup=False
|
||||
|
Loading…
Reference in New Issue
Block a user