创建新仓库
17
build/builder-debug.yml
Normal file
@ -0,0 +1,17 @@
|
||||
x64:
|
||||
firstOrDefaultFilePatterns:
|
||||
- '!**/node_modules'
|
||||
- '!build{,/**/*}'
|
||||
- '!build{,/**/*}'
|
||||
- dist/electron/**/*
|
||||
- package.json
|
||||
- '!**/*.{iml,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,suo,xproj,cc,d.ts,pdb}'
|
||||
- '!**/._*'
|
||||
- '!**/electron-builder.{yaml,yml,json,json5,toml}'
|
||||
- '!**/{.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,.DS_Store,thumbs.db,.gitignore,.gitkeep,.gitattributes,.npmignore,.idea,.vs,.flowconfig,.jshintrc,.eslintrc,.circleci,.yarn-integrity,.yarn-metadata.json,yarn-error.log,yarn.lock,package-lock.json,npm-debug.log,appveyor.yml,.travis.yml,circle.yml,.nyc_output}'
|
||||
- '!.yarn{,/**/*}'
|
||||
- '!.editorconfig'
|
||||
- '!.yarnrc.yml'
|
||||
nodeModuleFilePatterns:
|
||||
- '**/*'
|
||||
- dist/electron/**/*
|
46
build/builder-effective-config.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
directories:
|
||||
output: build
|
||||
buildResources: build
|
||||
extraFiles:
|
||||
- from: ./collada2gltf/
|
||||
to: ./collada2gltf
|
||||
- from: ./convert/
|
||||
to: ./convert
|
||||
- from: ./yjearth4_0/
|
||||
to: ./yjearth4_0
|
||||
- from: ./ffplay/
|
||||
to: ./ffplay
|
||||
- from: ./build/icons/
|
||||
to: ./icons
|
||||
productName: 便携式应急指挥电子沙盘系统北斗定位+
|
||||
appId: org.dzsp_yingjizhihuibeidou_offline_Y_save
|
||||
files:
|
||||
- filter:
|
||||
- dist/electron/**/*
|
||||
dmg:
|
||||
contents:
|
||||
- x: 410
|
||||
'y': 150
|
||||
type: link
|
||||
path: /Applications
|
||||
- x: 130
|
||||
'y': 150
|
||||
type: file
|
||||
mac:
|
||||
icon: build/icons/icon.icns
|
||||
win:
|
||||
icon: build/icons/81.ico
|
||||
linux:
|
||||
target: deb
|
||||
icon: build/icons/81.png
|
||||
desktop:
|
||||
Icon: /opt/便携式应急指挥电子沙盘系统北斗定位+/icons/81.png
|
||||
executableArgs:
|
||||
- '--no-sandbox'
|
||||
nsis:
|
||||
include: installer.nsh
|
||||
oneClick: false
|
||||
perMachine: true
|
||||
allowToChangeInstallationDirectory: true
|
||||
language: '2052'
|
||||
electronVersion: 13.6.9
|
BIN
build/icons/81.ico
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
build/icons/81.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
build/icons/bianxie.ico
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
build/icons/bianxie.png
Normal file
After Width: | Height: | Size: 121 KiB |
BIN
build/icons/country.ico
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
build/icons/dazu.ico
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
build/icons/dazu.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
build/icons/earth.ico
Normal file
After Width: | Height: | Size: 184 KiB |
BIN
build/icons/earth.png
Normal file
After Width: | Height: | Size: 145 KiB |
BIN
build/icons/gongan.ico
Normal file
After Width: | Height: | Size: 264 KiB |
BIN
build/icons/gongan.png
Normal file
After Width: | Height: | Size: 648 KiB |
BIN
build/icons/jingwu.ico
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
build/icons/jingwu.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
build/icons/uav.ico
Normal file
After Width: | Height: | Size: 264 KiB |
BIN
build/icons/uav.png
Normal file
After Width: | Height: | Size: 32 KiB |