Skip to content

Commit

Permalink
Append -S as proposed by @waterlens in #16
Browse files Browse the repository at this point in the history
  • Loading branch information
b-studios committed Oct 24, 2022
1 parent 964d5b3 commit 71f2ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ lazy val effekt: CrossProject = crossProject(JSPlatform, JVMPlatform).in(file("e
// prepend shebang to make jar file executable
val binary = (ThisBuild / baseDirectory).value / "bin" / "effekt"
IO.delete(binary)
IO.append(binary, "#! /usr/bin/env java -jar\n")
IO.append(binary, "#! /usr/bin/env -S java -jar\n")
IO.append(binary, IO.readBytes(jarfile))
},

Expand Down

0 comments on commit 71f2ca2

Please sign in to comment.