Skip to content

Commit

Permalink
Update GA
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed Mar 5, 2024
1 parent 7e35eb5 commit 03c17cd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { ElectronService } from './core/services/electron.service';
import { ConfigService } from './core/services/config.service';
import { MenuService } from './core/services/menu.service';
import { FileSystemService } from './core/services/file-system.service';
import { APP_CONFIG } from '../environments/environment';

@Component({
selector: 'app-root',
Expand Down Expand Up @@ -57,6 +58,7 @@ export class AppComponent implements OnInit, OnDestroy, AfterViewInit {
this.config.setConfig({
appSource: 'ELECTRON',
showProjectTab: true,
trackerId: APP_CONFIG.TRACKER_ID,
onFileOpen: () => {
console.log('fileOpen');
this.menuService.openFileDialog(() => {
Expand Down
3 changes: 2 additions & 1 deletion src/environments/environment.dev.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const APP_CONFIG = {
production: false,
environment: 'DEV'
environment: 'DEV',
TRACKER_ID: process.env.TRACKER_ID,
};
3 changes: 2 additions & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const APP_CONFIG = {
production: true,
environment: 'PROD'
environment: 'PROD',
TRACKER_ID: process.env.TRACKER_ID,
};
3 changes: 2 additions & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const APP_CONFIG = {
production: false,
environment: 'LOCAL'
environment: 'LOCAL',
TRACKER_ID: process.env.TRACKER_ID,
};

0 comments on commit 03c17cd

Please sign in to comment.