sparkbun 0.2.8 → 0.2.9
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/package.json +1 -1
- package/src/cli/index.ts +8 -2
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -4465,8 +4465,14 @@ ${archiveExports.join("\n")}
|
|
|
4465
4465
|
|
|
4466
4466
|
const setupFileName = isWindows
|
|
4467
4467
|
? getWindowsSetupFileName(config.app.name, buildEnvironment)
|
|
4468
|
-
|
|
4469
|
-
|
|
4468
|
+
// Linux has no extension to set the installer apart from the
|
|
4469
|
+
// self-extracting app bundle directory (created above at
|
|
4470
|
+
// buildFolder/<appFileName>). Without a suffix the Bun.build outfile
|
|
4471
|
+
// resolves to that exact directory and the compile aborts with
|
|
4472
|
+
// "<name> is a directory". The "-Setup" suffix matches the naming the
|
|
4473
|
+
// standalone `installer` command and getLinuxAppImageBaseName use.
|
|
4474
|
+
: `${_appFileName}-Setup`;
|
|
4475
|
+
const outputPath = join(buildFolder, setupFileName);
|
|
4470
4476
|
|
|
4471
4477
|
console.log(`Creating ${isWindows ? "Windows" : "Linux"} installer via Bun.build()...`);
|
|
4472
4478
|
|