build fix

This commit is contained in:
Eugene Pankov
2018-10-05 20:20:21 +02:00
parent d104f5e771
commit 89cc6c0d20
2 changed files with 7 additions and 20 deletions

View File

@@ -31,11 +31,13 @@
"ngx-toastr": "^8.7.3", "ngx-toastr": "^8.7.3",
"path": "0.12.7", "path": "0.12.7",
"rxjs": "^6.1.0", "rxjs": "^6.1.0",
"windows-blurbehind": "^1.0.0",
"windows-swca": "^1.1.1",
"yargs": "^12.0.1", "yargs": "^12.0.1",
"zone.js": "~0.8.26" "zone.js": "~0.8.26"
}, },
"optionalDependencies": {
"windows-blurbehind": "^1.0.0",
"windows-swca": "^1.1.1"
},
"devDependencies": { "devDependencies": {
"@types/mz": "0.0.31" "@types/mz": "0.0.31"
} }

View File

@@ -64,25 +64,10 @@ ngb-tabset.vertical(type='pills', [activeId]='activeTab')
.title Vibrancy .title Vibrancy
.description Gives the window a blurred transparent background .description Gives the window a blurred transparent background
.btn-group( toggle(
[(ngModel)]='config.store.appearance.vibrancy', [(ngModel)]='config.store.appearance.vibrancy',
(ngModelChange)='config.save(); (hostApp.platform === Platform.Windows && config.requestRestart())', (ngModelChange)='config.save(); (hostApp.platform === Platform.Windows && config.requestRestart())'
ngbRadioGroup
) )
label.btn.btn-secondary(ngbButtonLabel)
input(
type='radio',
ngbButton,
[value]='true'
)
| Enable
label.btn.btn-secondary(ngbButtonLabel)
input(
type='radio',
ngbButton,
[value]='false'
)
| Disable
.form-line(*ngIf='hostApp.platform !== Platform.Linux') .form-line(*ngIf='hostApp.platform !== Platform.Linux')
.header .header