Browse Source

use stock windows-blurbehind

Eugene Pankov 6 years ago
parent
commit
32e7d2db5c
4 changed files with 8 additions and 15 deletions
  1. 1 1
      app/lib/window.ts
  2. 1 1
      app/package.json
  3. 1 1
      app/webpack.main.config.js
  4. 5 12
      app/yarn.lock

+ 1 - 1
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 {

+ 1 - 1
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": {

+ 1 - 1
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(),

+ 5 - 12
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/[email protected]":
   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"