diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4682e5e9..2520196a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,6 +50,6 @@ jobs: - name: Install Erlang run: choco install erlang - name: Compile - run: bootstrap.ps1 + run: .\bootstrap.ps1 - name: CT tests - run: rebar3.ps1 ct + run: .\rebar3.ps1 ct diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl index 99538579..858e86b2 100644 --- a/src/rebar_prv_escriptize.erl +++ b/src/rebar_prv_escriptize.erl @@ -143,7 +143,7 @@ escriptize(State0, App) -> {ok, #file_info{mode = Mode}} = file:read_file_info(Filename), ok = file:change_mode(Filename, Mode bor 8#00111); {win32, _} -> - write_windows_scripts(Filename, rebar_state:get(State, escript_wrappers_windows, [])) + write_windows_scripts(Filename, rebar_state:get(State, escript_wrappers_windows, ["cmd"])) end, {ok, State}.