fbi-proxy 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -5231,8 +5231,7 @@ async function downloadCaddy() {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
|
|
5233
5233
|
// ts/cli.ts
|
|
5234
|
-
|
|
5235
|
-
process.chdir(path.resolve(__dirname, ".."));
|
|
5234
|
+
process.chdir(path.resolve(import.meta.dir, ".."));
|
|
5236
5235
|
var argv = await yargs_default(hideBin(process.argv)).option("fbihost", {
|
|
5237
5236
|
type: "string",
|
|
5238
5237
|
default: "fbi.com",
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/ts/cli.ts
CHANGED
|
@@ -7,9 +7,8 @@ import { hideBin } from "yargs/helpers";
|
|
|
7
7
|
import { getFbiProxyBinary } from "./buildFbiProxy";
|
|
8
8
|
import { $ } from "./dSpawn";
|
|
9
9
|
import { downloadCaddy } from "./downloadCaddy";
|
|
10
|
-
import { execa } from "execa";
|
|
11
10
|
|
|
12
|
-
process.chdir(path.resolve(
|
|
11
|
+
process.chdir(path.resolve(import.meta.dir, "..")); // Change to project root directory
|
|
13
12
|
|
|
14
13
|
// Parse command line arguments with yargs
|
|
15
14
|
const argv = await yargs(hideBin(process.argv))
|