Sky

还是不清楚为什么在Windows上高斯模糊不生效的问题

......@@ -59,7 +59,7 @@ let mainConfig = {
alias: {
'@config': resolve('config'),
},
extensions: ['.js', '.json', '.node']
extensions: ['.tsx', '.ts', '.js', '.json', '.node']
},
target: 'electron-main'
}
......
......@@ -32,7 +32,8 @@
"dist/electron/**/*"
],
"dmg": {
"contents": [{
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
......@@ -119,6 +120,7 @@
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "0.8.0",
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"node-sass": "^4.12.0",
"sass-loader": "^7.0.3",
"style-loader": "^1.0.0",
......@@ -134,4 +136,4 @@
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^4.2.1"
}
}
\ No newline at end of file
}
......
......@@ -13,6 +13,7 @@ function createMainWindow () {
useContentSize: true,
width: 1000,
show: false,
// transparent: true,
titleBarStyle: 'hidden',
webPreferences: {
nodeIntegration: true
......@@ -37,6 +38,7 @@ function loadindWindow (loadingURL) {
width: 400,
height: 600,
frame: false,
transparent: true,
webPreferences: { experimentalFeatures: true }
})
......@@ -45,10 +47,10 @@ function loadindWindow (loadingURL) {
loadWindow.show()
setTimeout(() => {
createMainWindow()
loadWindow.destroy()
}, 2000)
// setTimeout(() => {
// createMainWindow()
// loadWindow.destroy()
// }, 2000)
}
function initWindow (loadingURL) {
if (require('@config').UseStartupChart) {
......
......@@ -6,7 +6,6 @@
<title></title>
<style>
/* Demo Styles - It's all in the SVG */
html {
height: 100%;
min-height: 100%;
......@@ -14,8 +13,10 @@
}
html body {
background: #222428af;
backdrop-filter: blur(8px);
background: #222428;
/* on the windows it's con't use l don't why */
/* -webkit-backdrop-filter: brightness(150%) blur(30px);
backdrop-filter: brightness(150%) blur(30px); */
background-size: 163px;
font: 14px/21px Monaco, sans-serif;
color: #999;
......@@ -26,6 +27,7 @@
text-size-adjust: 100%;
height: 100%;
min-height: 100%;
margin: 0px;
}
html body a,
......