Added File Browser for Repository Scene

This commit is contained in:
bleeptrack 2020-09-22 13:15:36 +02:00
parent 9f657b012f
commit 1a264e2beb
8 changed files with 169 additions and 35 deletions

14
scripts/fake-editor-noblock Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env perl
use IO::Socket;
$socket = IO::Socket::INET->new(PeerAddr => "127.0.0.1",
PeerPort => 1234,
Proto => "tcp",
Type => SOCK_STREAM);
# Send the length of the first argument as a byte.
$socket->send(chr(length($ARGV[0])));
# Send the first argument as a string.
$socket->send($ARGV[0]);