electrobun 0.13.0-beta.3 → 0.13.0-beta.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/index.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "0.13.0-beta.3",
3
+ "version": "0.13.0-beta.4",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",
package/src/cli/index.ts CHANGED
@@ -1036,7 +1036,10 @@ if (commandArg === "init") {
1036
1036
  const targetOS = currentTarget.os;
1037
1037
  const targetARCH = currentTarget.arch;
1038
1038
  const targetBinExt = targetOS === 'win' ? '.exe' : '';
1039
- const appFileName = `${config.app.name.replace(/ /g, "")}-${buildEnvironment}`;
1039
+ // Format: MyApp (stable) or MyApp-canary (non-stable)
1040
+ const appFileName = buildEnvironment === "stable"
1041
+ ? config.app.name.replace(/ /g, "")
1042
+ : `${config.app.name.replace(/ /g, "")}-${buildEnvironment}`;
1040
1043
  const buildSubFolder = `${buildEnvironment}-${currentTarget.os}-${currentTarget.arch}`;
1041
1044
  const buildFolder = join(projectRoot, config.build.buildFolder, buildSubFolder);
1042
1045
  const bundleFileName = targetOS === 'macos' ? `${appFileName}.app` : appFileName;