mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
check if sandbox is running on bootup
This commit is contained in:
parent
d1aa1e6536
commit
e31fa51046
4 changed files with 32 additions and 9 deletions
|
@ -16,7 +16,6 @@ var log_file: FileAccess
|
|||
var pipe: Dictionary
|
||||
var gate: Gate
|
||||
|
||||
var last_log_tick: int
|
||||
var print_logs: bool
|
||||
var logs_sent: bool
|
||||
|
||||
|
@ -32,7 +31,6 @@ func _ready() -> void:
|
|||
func start(_pipe: Dictionary, _gate: Gate) -> void:
|
||||
pipe = _pipe
|
||||
gate = _gate
|
||||
last_log_tick = Time.get_ticks_msec()
|
||||
|
||||
create_log_file()
|
||||
start_reading_pipes()
|
||||
|
@ -83,7 +81,6 @@ func read_stderr() -> void:
|
|||
func store_buffer(buffer: PackedByteArray) -> void:
|
||||
if print_logs: printraw(buffer.get_string_from_utf8())
|
||||
log_file.store_buffer(buffer)
|
||||
last_log_tick = Time.get_ticks_msec()
|
||||
|
||||
|
||||
func cleanup() -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue