From 32e7d2db5c46e05d343d834767092246d3c1c495 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 6 May 2019 14:09:30 +0200 Subject: [PATCH] use stock windows-blurbehind --- app/lib/window.ts | 2 +- app/package.json | 2 +- app/webpack.main.config.js | 2 +- app/yarn.lock | 17 +++++------------ 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/app/lib/window.ts b/app/lib/window.ts index 8941d383..94687af7 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -12,7 +12,7 @@ let DwmEnableBlurBehindWindow: any if (process.platform === 'win32') { SetWindowCompositionAttribute = require('windows-swca').SetWindowCompositionAttribute AccentState = require('windows-swca').ACCENT_STATE - DwmEnableBlurBehindWindow = require('@terminus-term/windows-blurbehind').DwmEnableBlurBehindWindow + DwmEnableBlurBehindWindow = require('windows-blurbehind').DwmEnableBlurBehindWindow } export interface WindowOptions { diff --git a/app/package.json b/app/package.json index 1ad4067a..304318aa 100644 --- a/app/package.json +++ b/app/package.json @@ -35,7 +35,7 @@ "zone.js": "^0.8.26" }, "optionalDependencies": { - "@terminus-term/windows-blurbehind": "^1.0.0", + "windows-blurbehind": "^1.0.1", "windows-swca": "^2.0.1" }, "devDependencies": { diff --git a/app/webpack.main.config.js b/app/webpack.main.config.js index fc8958a3..73a4a891 100644 --- a/app/webpack.main.config.js +++ b/app/webpack.main.config.js @@ -42,7 +42,7 @@ module.exports = { path: 'commonjs path', yargs: 'commonjs yargs', 'windows-swca': 'commonjs windows-swca', - '@terminus-term/windows-blurbehind': 'commonjs @terminus-term/windows-blurbehind', + 'windows-blurbehind': 'commonjs windows-blurbehind', }, plugins: [ new webpack.optimize.ModuleConcatenationPlugin(), diff --git a/app/yarn.lock b/app/yarn.lock index 90a00c9e..815411ca 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -58,13 +58,6 @@ dependencies: tslib "^1.9.0" -"@terminus-term/windows-blurbehind@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@terminus-term/windows-blurbehind/-/windows-blurbehind-1.0.0.tgz#6621da2939180151f8ba0759a3e18246cfab8c05" - integrity sha512-ZRyCIrq6Nmoj+M9MGyECoTGJmIqHa3DBu1z+lpS7lGOfVk3dBSqlh5Pk+0q5lMq8MxvQikHXrF1TOxymi/cicg== - dependencies: - nan "^2.13.2" - "@types/mz@0.0.31": version "0.0.31" resolved "https://registry.yarnpkg.com/@types/mz/-/mz-0.0.31.tgz#a4d80c082fefe71e40a7c0f07d1e6555bbbc7b52" @@ -398,11 +391,6 @@ mz@^2.6.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nan@^2.13.2: - version "2.13.2" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" - integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== - ngx-toastr@^9.1.1: version "9.1.1" resolved "https://registry.yarnpkg.com/ngx-toastr/-/ngx-toastr-9.1.1.tgz#c7ec0284d13951422ccf47439a387372ddccc768" @@ -632,6 +620,11 @@ which@^1.2.9: dependencies: isexe "^2.0.0" +windows-blurbehind@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/windows-blurbehind/-/windows-blurbehind-1.0.1.tgz#ff098713873304e38330b2c54cc41bb369b587b9" + integrity sha512-1HzHfCiM1ayrbACJu5qE9zELV24uX/tINT6kxaZwLY3rtQAoeav6x9z7LFHWoLaGDN/sYbnK+9Vk0cz7fsk5HQ== + windows-swca@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/windows-swca/-/windows-swca-2.0.1.tgz#25d78ce25251292061494a0ad07c02282b28b4e3"