Env definition

This commit is contained in:
ziajka 2019-01-28 10:24:00 +01:00
parent 4ea8c9568f
commit 65acfbb11c
5 changed files with 13 additions and 5 deletions

View File

@ -92,6 +92,9 @@ import { InstallSoftwareComponent } from './components/installed-software/instal
import { StyleEditorDialogComponent } from './components/project-map/drawings-editors/style-editor/style-editor.component';
import { EditTextActionComponent } from './components/project-map/context-menu/actions/edit-text-action/edit-text-action.component';
import { TextEditorDialogComponent } from './components/project-map/drawings-editors/text-editor/text-editor.component';
import { InstalledSoftwareService } from './services/installed-software.service';
import { ExternalSoftwareDefinitionService } from './services/external-software-definition.service';
import { PlatformService } from './services/platform.service';
if (environment.production) {
Raven.config('https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726', {
@ -191,7 +194,10 @@ if (environment.production) {
ServerErrorHandler,
ServerDatabase,
ProjectNameValidator,
ToolsService
ToolsService,
InstalledSoftwareService,
ExternalSoftwareDefinitionService,
PlatformService
],
entryComponents: [
AddServerDialogComponent,

View File

@ -23,7 +23,6 @@ export class InstalledSoftwareComponent implements OnInit {
onInstalled(event) {
this.dataSource.refresh();
console.log("On installed", event);
/**
* During software installation we are not performing any user action
* in browser hence Angular doesn't know something suppose to change.

View File

@ -1,4 +1,5 @@
export const environment = {
production: true,
electron: true
electron: true,
solarputty_download_url: ""
};

View File

@ -1,4 +1,5 @@
export const environment = {
production: false,
electron: true
electron: true,
solarputty_download_url: ""
};

View File

@ -1,5 +1,6 @@
export const environment = {
production: true,
electron: false,
githubio: true
githubio: true,
solarputty_download_url: ""
};