Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
后端镜像
Tabby
提交
7984313b
T
Tabby
项目概览
后端镜像
/
Tabby
通知
33
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Tabby
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7984313b
编写于
10月 05, 2018
作者:
E
Eugene Pankov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dropped electron-vibrancy
上级
89cc6c0d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
27 deletion
+0
-27
app/lib/window.ts
app/lib/window.ts
+0
-11
app/package.json
app/package.json
+0
-1
app/yarn.lock
app/yarn.lock
+0
-15
未找到文件。
app/lib/window.ts
浏览文件 @
7984313b
...
...
@@ -6,13 +6,9 @@ import * as fs from 'fs'
import
*
as
os
from
'
os
'
import
*
as
path
from
'
path
'
let
electronVibrancy
:
any
let
SetWindowCompositionAttribute
:
any
let
AccentState
:
any
let
DwmEnableBlurBehindWindow
:
any
if
(
process
.
platform
===
'
darwin
'
)
{
electronVibrancy
=
require
(
'
electron-vibrancy
'
)
}
if
(
process
.
platform
===
'
win32
'
)
{
SetWindowCompositionAttribute
=
require
(
'
windows-swca
'
).
SetWindowCompositionAttribute
AccentState
=
require
(
'
windows-swca
'
).
AccentState
...
...
@@ -117,13 +113,6 @@ export class Window {
}
else
{
DwmEnableBlurBehindWindow
(
this
.
window
,
enabled
)
}
}
else
if
(
process
.
platform
===
'
darwin
'
)
{
if
(
enabled
&&
!
this
.
vibrancyViewID
)
{
this
.
vibrancyViewID
=
electronVibrancy
.
SetVibrancy
(
this
.
window
,
0
)
}
else
if
(
!
enabled
&&
this
.
vibrancyViewID
)
{
electronVibrancy
.
RemoveView
(
this
.
window
,
this
.
vibrancyViewID
)
this
.
vibrancyViewID
=
null
}
}
}
...
...
app/package.json
浏览文件 @
7984313b
...
...
@@ -25,7 +25,6 @@
"electron-debug"
:
"^2.0.0"
,
"electron-is-dev"
:
"0.1.2"
,
"electron-squirrel-startup"
:
"^1.0.0"
,
"electron-vibrancy"
:
"^0.1.3"
,
"js-yaml"
:
"3.8.2"
,
"mz"
:
"^2.6.0"
,
"ngx-toastr"
:
"^8.7.3"
,
...
...
app/yarn.lock
浏览文件 @
7984313b
...
...
@@ -80,10 +80,6 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"
bindings@^1.2.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7"
camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
...
...
@@ -183,13 +179,6 @@ electron-squirrel-startup@^1.0.0:
dependencies:
debug "^2.2.0"
electron-vibrancy@^0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/electron-vibrancy/-/electron-vibrancy-0.1.3.tgz#04382dd6e030e5ca5e60f8e024033738cb8479e3"
dependencies:
bindings "^1.2.1"
nan "^2.0.5"
env-paths@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-0.3.1.tgz#c30ccfcbc30c890943dc08a85582517ef00da463"
...
...
@@ -336,10 +325,6 @@ mz@^2.6.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"
nan@^2.0.5:
version "2.10.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"
ngx-toastr@^8.7.3:
version "8.7.3"
resolved "https://registry.yarnpkg.com/ngx-toastr/-/ngx-toastr-8.7.3.tgz#d3b7a8077ba1c860dd8a44779ccad38c5ea15c92"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录