SystemFolder Personal not working outside of Windows

Hi, it would appear that the SystemFolder node is not behaving correctly outside of the Windows environment.

I believe this to be a regression since I’ve had applications exported to Linux work with it previously, it would resolve to the $HOME folder.

Currently, including the node will result in an unhandled exception:

(Parameter 'path')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at System.IO.Path.GetFullPath(String path)
   at System.IO.DirectoryInfo..ctor(String path)
   at VL.Lib.IO.PathExtension.SystemFolder(SpecialFolder specialFolder)
   at _DocumentsPathTest_.Main._Operations_.GetSchemaProjectRoot(Path& Output_Out, Path& Result_Out)
   at _DocumentsPathTest_.Main.DocumentsPathTestApplication_P.Update()
   at VL.AppServices.ExportedAppHost.<>c__DisplayClass36_1.<RunCoreAsync>b__1(Object _)System.ArgumentException: The value cannot be an empty string. 

This is the problematic node:

I have made this hotfix for my purposes:

<?xml version="1.0" encoding="utf-16"?>
<Patch xmlns:p="property" xmlns:r="reflection" Id="LQ1qF3BE1dlLjblRL5EqwC" MergeId="137036">
  <Pin Id="MHyNht78of2PXbk255DPFe" MergeId="137051" Name="Output" Kind="OutputPin" />
  <ControlPoint Id="CpIacpEPDGkPTsWOXeyuej" Bounds="77,401" />
  <Link Id="UV4srdae8voQNa9xXQaQjL" Ids="CpIacpEPDGkPTsWOXeyuej,MHyNht78of2PXbk255DPFe" IsHidden="true" />
  <Node Bounds="61,109,74,19" Id="INALspl53vdLH21SQTfUea">
    <p:NodeReference LastCategoryFullName="System.Runtime.InteropServices.RuntimeInformation" LastDependency="System.Runtime.InteropServices.RuntimeInformation.dll">
      <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
      <Choice Kind="OperationCallFlag" Name="IsOSPlatform" />
    </p:NodeReference>
    <Pin Id="FrL2r694PvUPoPd5LJZSQS" Name="Os Platform" Kind="InputPin" />
    <Pin Id="RWgTpCing7PMumzDfIwuX7" Name="Result" Kind="OutputPin" />
  </Node>
  <Node Bounds="61,79,57,19" Id="HmM7YxqWQLOPnuIQgxoU6s">
    <p:NodeReference LastCategoryFullName="System.Runtime.InteropServices.OSPlatform" LastDependency="System.Runtime.InteropServices.RuntimeInformation.dll">
      <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
      <CategoryReference Kind="AssemblyCategory" Name="OSPlatform" />
      <Choice Kind="OperationCallFlag" Name="Windows" />
    </p:NodeReference>
    <Pin Id="K6tZAjP9vJ8PVJlODoYrDd" Name="Windows" Kind="OutputPin" />
  </Node>
  <Link Id="MCNcr0TvXUjOzlIVGj7wRt" Ids="K6tZAjP9vJ8PVJlODoYrDd,FrL2r694PvUPoPd5LJZSQS" />
  <Node Bounds="61,134,256,94" Id="OUB8VXVCZqQPDqwa5CCPIc">
    <p:NodeReference LastCategoryFullName="Primitive" LastDependency="Builtin">
      <Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
      <CategoryReference Kind="Category" Name="Primitive" />
      <Choice Kind="ApplicationStatefulRegion" Name="If" />
    </p:NodeReference>
    <Pin Id="CrfUpymokO2PfuC6tfTDTX" Name="Condition" Kind="InputPin" />
    <Patch Id="Khwysl5492IPXFaBdJY8b7" ManuallySortedPins="true">
      <Patch Id="KpMyjBdiNPMMadus1Q6BMO" Name="Create" ManuallySortedPins="true" />
      <Patch Id="MaZb0j1vaHyPQh39AWXNv4" Name="Then" ManuallySortedPins="true" />
      <Node Bounds="75,180,77,19" Id="LOxRTS8LjaHMvv3wK0h0GI">
        <p:NodeReference LastCategoryFullName="IO" LastDependency="VL.CoreLib.vl">
          <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
          <Choice Kind="OperationCallFlag" Name="SystemFolder" />
        </p:NodeReference>
        <Pin Id="UTZpJCq03o1MDvBebVrwvk" Name="Special Folder" Kind="InputPin" />
        <Pin Id="NPS7rWGeoDFO3oeSFP15Ad" Name="Result" Kind="OutputPin" />
      </Node>
      <Pad Id="VPhAYbkasfGPKFpPfxFY4J" Comment="Special Folder" Bounds="77,162,143,15" ShowValueBox="true" isIOBox="true" Value="Personal">
        <p:TypeAnnotation LastCategoryFullName="IO" LastDependency="VL.CoreLib.vl">
          <Choice Kind="TypeFlag" Name="SpecialFolder" />
        </p:TypeAnnotation>
      </Pad>
    </Patch>
    <ControlPoint Id="HVEjUOIhvaDMZW6QTkMWT7" Bounds="77,222" Alignment="Bottom" />
    <ControlPoint Id="ES75GjUjqgWNmnqsvVxZlm" Bounds="77,140" Alignment="Top" />
  </Node>
  <Link Id="A8eK7720d0aO92SO8RmXne" Ids="RWgTpCing7PMumzDfIwuX7,CrfUpymokO2PfuC6tfTDTX" />
  <Node Bounds="61,274,127,88" Id="HFwh3hxQkc7PdOhjjqomYo">
    <p:NodeReference LastCategoryFullName="Primitive" LastDependency="Builtin">
      <Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
      <CategoryReference Kind="Category" Name="Primitive" />
      <Choice Kind="ApplicationStatefulRegion" Name="If" />
    </p:NodeReference>
    <Pin Id="RNniu5z8j6GQWh6SKMRlja" Name="Condition" Kind="InputPin" />
    <Patch Id="EnikX27lrlZM3qiU4VmVi6" ManuallySortedPins="true">
      <Patch Id="Qah2kljKZTJMbbHmCLTlGC" Name="Create" ManuallySortedPins="true" />
      <Patch Id="AeLimsPeRIZLZAIYR86F6B" Name="Then" ManuallySortedPins="true" />
      <Node Bounds="75,322,57,19" Id="PW8d6DWytZRNmbyplj5hp6">
        <p:NodeReference LastCategoryFullName="IO" LastDependency="VL.CoreLib.vl">
          <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
          <Choice Kind="OperationCallFlag" Name="Filename (Join)" />
        </p:NodeReference>
        <Pin Id="VpgwzkAAxJaOE6PkpoR0NN" Name="Directory" Kind="InputPin" />
        <Pin Id="BaE9eZUgBQ9MyciLMPwlq1" Name="Filename" Kind="InputPin" />
        <Pin Id="K3Wggryw4dfPWEhqDy1C3U" Name="Extension" Kind="InputPin" />
        <Pin Id="MuHxWCz7qa5Lo4EPpiaCtl" Name="Result" Kind="OutputPin" />
      </Node>
      <Pad Id="KUOsvrkajxJLiLhFs05HHM" Comment="Directory" Bounds="77,302,35,15" ShowValueBox="true" isIOBox="true" Value="~">
        <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
          <Choice Kind="TypeFlag" Name="String" />
        </p:TypeAnnotation>
      </Pad>
    </Patch>
    <ControlPoint Id="DHAM2g4lGR7PPU9OlwksFO" Bounds="77,356" Alignment="Bottom" />
    <ControlPoint Id="QpT8q3XYJT6PnwjG4xvZxk" Bounds="77,280" Alignment="Top" />
  </Node>
  <Node Bounds="61,240,37,19" Id="Bh0oiT6uNgAOVdPAEetHxW">
    <p:NodeReference LastCategoryFullName="Primitive.Boolean" LastDependency="VL.CoreLib.vl">
      <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
      <Choice Kind="OperationCallFlag" Name="NOT" />
    </p:NodeReference>
    <Pin Id="Hd6EUZUiQg3MzCk9ZMUgI8" Name="Input" Kind="StateInputPin" />
    <Pin Id="UFZ9RiTUaPxN2eFFiDKQfv" Name="Output" Kind="StateOutputPin" />
  </Node>
  <Link Id="VDdlMfvYltEPlqeUIsdSRS" Ids="RWgTpCing7PMumzDfIwuX7,Hd6EUZUiQg3MzCk9ZMUgI8" />
  <Link Id="P0EEccwo2h4NCnWxNot8YU" Ids="UFZ9RiTUaPxN2eFFiDKQfv,RNniu5z8j6GQWh6SKMRlja" />
  <Link Id="JIMdgoJMwgTP0hNZc3zCJc" Ids="QpT8q3XYJT6PnwjG4xvZxk,DHAM2g4lGR7PPU9OlwksFO" IsFeedback="true" />
  <Link Id="KeSVw581baUOQDrOZdlVBG" Ids="MuHxWCz7qa5Lo4EPpiaCtl,DHAM2g4lGR7PPU9OlwksFO" />
  <Link Id="JWTy3wh8HVsPgX7HEOvOyj" Ids="DHAM2g4lGR7PPU9OlwksFO,CpIacpEPDGkPTsWOXeyuej" />
  <Link Id="CmZec6kn3r3OBkMLBo9mV0" Ids="ES75GjUjqgWNmnqsvVxZlm,HVEjUOIhvaDMZW6QTkMWT7" IsFeedback="true" />
  <Link Id="KAK1boMZFMUMaTvUUIog9t" Ids="NPS7rWGeoDFO3oeSFP15Ad,HVEjUOIhvaDMZW6QTkMWT7" />
  <Link Id="H9jW2tSyjVyOAdri3rnNy2" Ids="HVEjUOIhvaDMZW6QTkMWT7,QpT8q3XYJT6PnwjG4xvZxk" />
  <Link Id="Hpecck2Piy6OPmC2AQoNOF" Ids="KUOsvrkajxJLiLhFs05HHM,VpgwzkAAxJaOE6PkpoR0NN" />
  <Link Id="Bc80u25WktxPxEm8jhH9cL" Ids="VPhAYbkasfGPKFpPfxFY4J,UTZpJCq03o1MDvBebVrwvk" />
  <NugetDependency Id="Nu4AI0jOzqVNvxmjcQUAzv" Location="VL.CoreLib" Version="2025.7.0" />
  <NugetDependency Id="DWBdLxcaw3nLyR3zgGZZbM" Location="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
</Patch>