Skip to content

Commit

Permalink
chore: Beta 버전 배포시 앱 이름을 BoxHero(Beta)로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
BitYoungjae committed Oct 31, 2023
1 parent 736f546 commit a65c05f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ const AWS_BUCKET = process.env["AWS_BUCKET"] ?? "boxhero-autoupdate";
const skipSign = process.env["DEV_SKIP_SIGN"] === "t";
const isBeta = process.env["DEV_USE_BETA_LANE"] === "t";

const appName = isBeta ? `BoxHero(Beta)` : "BoxHero";
const prefix = isBeta ? `${process.platform}-beta` : `${process.platform}`;

const config: ForgeConfig = {
packagerConfig: {
name: "BoxHero",
name: appName,
icon: "./build/icon",
appBundleId: APPLE_APP_BUNDLE_ID,
...(!skipSign
Expand All @@ -60,7 +61,7 @@ const config: ForgeConfig = {
rebuildConfig: {},
makers: [
new MakerSquirrel({
name: "BoxHero",
name: appName,
signWithParams: !skipSign
? `/fd sha256 /sha1 ${WIN_CERT_THUMBPRINT} /tr http://timestamp.digicert.com /td sha256`
: undefined,
Expand All @@ -71,7 +72,7 @@ const config: ForgeConfig = {
macUpdateManifestBaseUrl: `https://${AWS_BUCKET}.s3.${AWS_DEFAULT_REGION}.amazonaws.com/${prefix}`,
}),
new MakerDMG({
name: "BoxHero",
name: appName,
icon: path.resolve(__dirname, "./build/icon.icns"),
background: path.resolve(__dirname, "./build/dmg-bg.png"),
iconSize: 62,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boxhero-electron",
"productName": "BoxHero",
"version": "2.2.7",
"version": "2.2.8",
"description": "Simple Inventory Management Solution",
"main": ".vite/build/main.js",
"scripts": {
Expand Down

0 comments on commit a65c05f

Please sign in to comment.