Skip to content

Commit

Permalink
newer launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Apr 21, 2022
1 parent 589a606 commit 1ac308c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/.bsp/
/.scala-build/
/.scala-cli
Binary file added .scala-cli
Binary file not shown.
10 changes: 5 additions & 5 deletions scala-cli
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ SC_EXEC="$DIR/.scala-cli"

ls -lha

if ! test -x "$SC_EXEC"; then
gzip -d < "$DIR/scala-cli.gz" > "$SC_EXEC"
chmod +x "$SC_EXEC"
fi
# if ! test -x "$SC_EXEC"; then
# gzip -d < "$DIR/scala-cli.gz" > "$SC_EXEC"
# chmod +x "$SC_EXEC"
# fi

ls -lha
file "$SC_EXEC"

exec "$SC_EXEC" "$@"
exec /bin/bash "$SC_EXEC" "$@"
Binary file removed scala-cli.gz
Binary file not shown.

0 comments on commit 1ac308c

Please sign in to comment.