File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ const RENDERER_VITE_CONFIG_PATH = fileURLToPath(
115115)
116116
117117type CoMapeoDesktopForgePluginConfig = {
118+ appId : string
118119 appVersion : string
119120 win32AppUserModelId : string
120121}
@@ -182,6 +183,7 @@ class CoMapeoDesktopForgePlugin extends PluginBase<CoMapeoDesktopForgePluginConf
182183 }
183184
184185 const appConfig : AppConfig = {
186+ appId : this . config . appId ,
185187 appType : APP_TYPE ,
186188 appVersion : this . config . appVersion ,
187189 asar : ASAR ,
@@ -334,6 +336,7 @@ const properties = getPropertiesForAppType(APP_TYPE)
334336
335337const plugins : Array < ForgeConfigPlugin > = [
336338 new CoMapeoDesktopForgePlugin ( {
339+ appId : properties . appBundleId ,
337340 appVersion : properties . appVersion ,
338341 win32AppUserModelId : properties . win32AppUserModelId ,
339342 } ) ,
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export function createAppDiagnosticsMetricsScheduler({
4949 const { appLocale, deviceLocale } = getLocaleInfo ( )
5050
5151 return {
52+ appId : appConfig . appId ,
5253 appLocale,
5354 appName : app . getName ( ) ,
5455 deviceLocale,
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ export type AppType =
99 | 'production'
1010
1111export const AppConfigSchema = v . object ( {
12+ /** Indicates the application ID e.g. `app.comapeo` */
13+ appId : v . string ( ) ,
1214 /** Indicates the app type */
1315 appType : v . union ( [
1416 v . literal ( 'development' ) ,
You can’t perform that action at this time.
0 commit comments