代码拉取完成,页面将自动刷新
同步操作将从 想天皮克斯/天天工作台 副屏桌面系统 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#electron-builder打包配置文件,可参考官方文档:https://www.electron.build/configuration/configuration
directories:
output: setup-${arch}
buildResources: dist
#可以注释这里,省略公证环节,节省打包时间。此操作可节省2分半。下面 51行也影响打包速度,可以设为null,这样不签名,大幅度提高速度。
#afterSign: scripts/notarize.js
files:
- dist/*.js
- dist/*.css
- css/*.css
- pages/**/*
- icons/**/*
- icons/*.svg
#- js/**/*
- js/places/*
- db/**/*
- js/defaultPreload.js
- js/main/**/*
- js/request/**/*
- js/util/**/*
- js/extras/**/*
- js/passwordManager/**/*
- ./main.build.js
- ext/**/*
- index.html
- server-config.js
- api/*
- img/*.jpg
- img/*.jpeg
- img/*.png
- reader/**/*
- resources/**/*
- src/**/*
- vite/dist/**/* #增加渲染进程
fileAssociations:
ext:
- html
- xhtml
- pdf
dmg:
sign: false
win:
# requestedExecutionLevel: 'requireAdministrator'
extraResources:
- from: res
to: res
filter:
- "**/*"
icon: ./icons/logowin.ico
target:
- target: nsis
- target: zip
publish:
- provider : generic
url: http://d.xiangtian.ren/update/worktable/win/
channel: latest
mac:
#此处为正式打包需要用到的脚本,如果仅仅测试,可以取消这里的注释,此操作会将identity设空,以至于无法找到证书,跳过签名阶段,以提高速度。
#打出的包则没有证书公证,官方说明https://www.electron.build/code-signing
#https://duanshuo.yuque.com/hfru7g/gta7yy/pqbzh3#QCbaN
#How to Disable Code Signing During the Build Process on macOS¶
#To disable Code Signing when building for macOS leave all the above vars unset except for CSC_IDENTITY_AUTO_DISCOVERY which needs to be set to false. This can be done by running export CSC_IDENTITY_AUTO_DISCOVERY=false.
#
#Another way — set mac.identity to null. You can pass aditional configuration using CLI as well: -c.mac.identity=null.
identity: null
entitlements: entitlements.mac.plist
entitlementsInherit: entitlements.mac.plist
hardenedRuntime: true
gatekeeperAssess: false
icon: ./icons/icon.icns
category: public.app-category.utilities
target:
- target: dmg
- target: zip
publish:
- provider : generic
url: http://d.xiangtian.ren/update/browser/mac-${arch}/
channel: latest
# extendInfo:
# - CFBundleDocumentTypes:
# - CFBundleTypeName: HTML document
# CFBundleTypeRole: Viewer
# LSItemContentTypes: public.html
# - CFBundleTypeName: XHTML document
# CFBundleTypeRole: Viewer
# LSItemContentTypes: public.xhtml
nsis:
allowToChangeInstallationDirectory: true
oneClick: false
perMachine: true
protocols:
name: TSBrowser
schemes:
- tsb
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。