mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-05 21:48:49 +01:00
vncserver: refactor
This commit is contained in:
parent
7e854294a2
commit
c6f7d2eff0
@ -28,7 +28,7 @@
|
||||
use v5.10;
|
||||
use Time::HiRes qw (sleep);
|
||||
|
||||
&DetectEnvironment();
|
||||
&EnsureWeCanRunInThisEnvironment();
|
||||
|
||||
&DefineFilePathsAndStuff();
|
||||
|
||||
@ -967,10 +967,9 @@ sub PrintKasmUsers {
|
||||
warn "\n";
|
||||
}
|
||||
|
||||
sub DetectEnvironment {
|
||||
sub EnsureWeCanRunInThisEnvironment {
|
||||
$exedir = &DetectBinariesDir();
|
||||
&CheckRequiredDependenciesArePresent();
|
||||
&DetectFontPath();
|
||||
}
|
||||
|
||||
sub DefineFilePathsAndStuff {
|
||||
@ -1005,6 +1004,8 @@ sub DefineFilePathsAndStuff {
|
||||
"# alwaysshared\n");
|
||||
|
||||
chop($host = `uname -n`);
|
||||
|
||||
&DetectFontPath();
|
||||
}
|
||||
|
||||
sub ParseAndProcessCliOptions {
|
||||
|
Loading…
Reference in New Issue
Block a user