Skip to content

Commit ffadaca

Browse files
committed
U current working directory can't be preserved
1 parent c1b9bff commit ffadaca

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/main/resources/mac/Info.plist.vtl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@
6969
<key>WorkingDirectory</key>
7070
#if ($info.useResourcesAsWorkingDir)
7171
<string>$APP_PACKAGE/Contents/Resources</string>
72-
#else
73-
<string>$CurrentWorkingDirectory</string>
7472
#end
7573
</dict>
7674
<key>LSEnvironment</key>

src/main/resources/mac/universalJavaApplicationStub

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ stub_logger "[StubDir] $PROGDIR"
8181
# set files and folders
8282
############################################
8383

84-
CurrentWorkingDirectory=$(pwd)
85-
8684
# the absolute path of the app package
8785
cd "$PROGDIR"/../../ || exit 11
8886
AppPackageFolder=$(pwd)

0 commit comments

Comments
 (0)