The wails-dev-firstrun launch configuration wrote to a machine-specific absolute path. It now creates .debug/runs/reims-firstrun and points the location file there.
18 lines
552 B
JSON
18 lines
552 B
JSON
{
|
|
"version": "0.0.1",
|
|
"configurations": [
|
|
{
|
|
"name": "wails-dev",
|
|
"runtimeExecutable": "wails",
|
|
"runtimeArgs": ["dev", "-browser=false"],
|
|
"port": 34115
|
|
},
|
|
{
|
|
"name": "wails-dev-firstrun",
|
|
"runtimeExecutable": "pwsh",
|
|
"runtimeArgs": ["-NoProfile", "-Command", "New-Item -ItemType Directory -Force .debug/runs/reims-firstrun | Out-Null; $env:REIMS_GO_FIRST_RUN='1'; $env:REIMS_GO_LOCATION_FILE='.debug/runs/reims-firstrun/location.json'; wails dev -browser=false"],
|
|
"port": 34115
|
|
}
|
|
]
|
|
}
|