From 1d278aeef74ce4b8c2c67d208daa8f759a34231b Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Sat, 24 Jun 2023 12:17:51 +0300 Subject: [PATCH] test2 --- build/Build.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index c0d506b36..4e4451451 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -92,9 +92,11 @@ protected override void OnBuildInitialized() .OnlyWhenDynamic(() => RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) .Executes(() => { - //ProcessTasks.StartProcess("sudo", "apt update"); ProcessTasks.StartProcess("sudo", "apt install -y fonts-noto-color-emoji"); - ProcessTasks.StartProcess("sudo", "fc-cache -f -v"); + ProcessTasks.StartProcess("mkdir", "-p /usr/local/share/fonts"); + ProcessTasks.StartProcess("cp", "/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf /usr/local/share/fonts/"); + ProcessTasks.StartProcess("chmod", "644 /usr/local/share/fonts/NotoColorEmoji.ttf"); + ProcessTasks.StartProcess("fc-cache", "-fv"); }); Target Pack => _ => _