added windows start file
This commit is contained in:
parent
9bcec50d7e
commit
d51b53bb4b
10
start-kf.ps1
Normal file
10
start-kf.ps1
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Detekujte cestu k Java
|
||||||
|
$javaPath = "D:\java\jdk21\bin\javaw.exe"
|
||||||
|
|
||||||
|
# Cesta k JAR (relativní vůči skriptu)
|
||||||
|
$jarPath = Join-Path (Split-Path -Parent $MyInvocation.MyCommand.Path) "target\kf-manager-1.0-SNAPSHOT-jar-with-dependencies.jar"
|
||||||
|
|
||||||
|
#net use
|
||||||
|
|
||||||
|
# Spusť JAR
|
||||||
|
& $javaPath -jar $jarPath
|
||||||
Loading…
x
Reference in New Issue
Block a user