Skip to content

Commit

Permalink
Add distributor to beta survey version
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Sep 25, 2024
1 parent 989fd80 commit a40322c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/BetaConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { app, shell } from "electron";
import fs from "fs";
import jsonfile from "jsonfile";
import path from "path";
import { DISTRIBUTOR, Distributor } from "../shared/buildConstants";
import { scaleValue } from "../shared/util";
import { APP_VERSION } from "./Constants";

Expand Down Expand Up @@ -101,7 +102,7 @@ export function openBetaSurvey(): void {
shell.openExternal(
BETA_CONFIG!.surveyUrl.replace(
"__version__",
encodeURIComponent(APP_VERSION + " (" + process.platform + "-" + process.arch + ")")
encodeURIComponent(APP_VERSION + "/" + process.platform + "-" + process.arch + "/" + Distributor[DISTRIBUTOR])
)
);
state.surveyStatus = true;
Expand Down

0 comments on commit a40322c

Please sign in to comment.