lichong 3 months ago
parent
commit
0caa55bc42
  1. 4
      electron-builder.yml
  2. 2
      src/renderer/index.html

4
electron-builder.yml

@ -1,5 +1,5 @@
appId: com.electron.lichong appId: com.electron.lichong
productName: 销售统计 productName: c
directories: directories:
buildResources: build buildResources: build
files: files:
@ -14,7 +14,7 @@ win:
executableName: lichong-app executableName: lichong-app
nsis: nsis:
oneClick: false oneClick: false
artifactName: 销售统计-${version}-setup.${ext} artifactName: 表格生成-${version}-setup.${ext}
allowToChangeInstallationDirectory: true allowToChangeInstallationDirectory: true
shortcutName: ${productName} shortcutName: ${productName}
uninstallDisplayName: ${productName} uninstallDisplayName: ${productName}

2
src/renderer/index.html

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>销售统计</title> <title>表格生成</title>
<meta http-equiv="Content-Security-Policy" <meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self';img-src 'self' data:; style-src 'self' 'unsafe-inline';font-src 'self' data:;" /> content="default-src 'self'; script-src 'self';img-src 'self' data:; style-src 'self' 'unsafe-inline';font-src 'self' data:;" />
</head> </head>

Loading…
Cancel
Save