Skip to content

Commit

Permalink
Only allowing to check for updates when in production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Soryyyn committed Sep 29, 2022
1 parent 5d4d411 commit ecf8092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/sites/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function Home() {
{
type: "label",
label: "Check for update",
disabled: false,
disabled: (process.env.NODE_ENV !== "production"),
action() {
window.api.sendOneWay(window.api.channels.updateCheck);
}
Expand Down

0 comments on commit ecf8092

Please sign in to comment.