From 7ba68c5ec131c1019dcf2ff33892c0cc81ae2c0e Mon Sep 17 00:00:00 2001 From: Nathan McRae Date: Mon, 17 Feb 2025 22:29:05 -0800 Subject: [PATCH] Simplify lib path --- build.ps1 | 2 +- run.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index 492af12..0998f44 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,7 +1,7 @@ $Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1" $Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)" $Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib" -$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib" +$modulePath = "$Env:PATH_TO_FX;$PSScriptRoot\lib" $modules = $( "com.ctc.wstx", "com.fasterxml.jackson.annotation", diff --git a/run.ps1 b/run.ps1 index e98ec34..c5096f0 100644 --- a/run.ps1 +++ b/run.ps1 @@ -2,7 +2,7 @@ cd $PSScriptRoot $Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1" $Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)" $Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib" -$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib" +$modulePath = "$Env:PATH_TO_FX;$PSScriptRoot\lib" $modules = $( "com.ctc.wstx", "com.fasterxml.jackson.annotation",