Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
N0chteil committed May 28, 2023
1 parent bd5ff35 commit 9c7aa1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "amrpc",
"version": "4.2.0-beta.3",
"version": "4.2.0",
"description": "Discord RPC for Apple Music",
"scripts": {
"start": "npm run copy && npm run build && electron ./dist/",
"copy": "copyfiles -u 1 -a src/assets/** src/language/** src/browser/*.css src/browser/*.html src/browser/css/*.css dist/ && copyfiles package.json dist/",
"copy": "copyfiles -u 1 -a src/assets/** src/language/** src/browser/*.css src/browser/*.html src/browser/css/*.css dist/ && copyfiles package.json node_modules/** dist/",
"build": "tsc && cd src/browser/renderer/ && tsc",
"build:win": "npm run build && npm run copy && electron-builder --config builder/stable.json",
"build:win-store": "npm run build && npm run copy && electron-builder --config builder/stable-win-store.json",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import { checkAppDependency } from "./utils/checkAppDependency";

import * as log from "electron-log";

export const isBeta = app.getVersion().includes("beta");
export const isBeta = app.getVersion().includes("beta"),
isRC = app.getVersion().includes("rc");

export let trayManager: TrayManager;
export let modalWatcher: ModalWatcher;
Expand All @@ -39,6 +40,7 @@ log.info(
);

if (isBeta) log.info("[READY]", "Detected beta build");
if (isRC) log.info("[READY]", "Detected release candidate build");
if (process.windowsStore) log.info("[READY]", "Detected Windows Store build");

initSentry();
Expand Down

0 comments on commit 9c7aa1e

Please sign in to comment.