Closed ChloeDawn closed 2 years ago
I think this is already supported? You might need an extra slash after file://
, the syntax is a bit tricky.
packwiz-installer-bootstrap.jar file://packwiz/pack.toml
packwiz-installer-bootstrap.jar file:///packwiz/pack.toml
Executed in a directory containing a subdirectory of packwiz
which in turn contains pack.toml
Ah, relative paths aren't supported; you need something like file:///C:/Users/...
(or file:///home/user/...
on Linux)
Ah, thanks! This fixes it:
@echo off
setlocal
set pack=%~dp0packwiz/pack.toml
set pack=%pack:\=/%
%~dp0\packwiz-installer-bootstrap.jar "file:///%pack%"
It would be great to see support for local pack metadata in self-contained instances.
packwiz-installer-bootstrap.jar file://path/to/pack.toml
packwiz-installer-bootstrap.jar file://pack.toml