脚丫痒是什么原因| 2008年属什么| 脑梗用什么药效果好| 新生儿老打嗝什么原因| 龘读什么| 血糖高是什么原因造成的| 肾虚吃什么东西补得快| 3.13是什么星座| religion什么意思| 手掌发红是什么原因| 为什么月经每个月提前| 安陵容什么时候变坏的| 睡觉老是做梦是什么原因| 肺结节是什么病严重吗| 场所是什么意思| 什么是低钾血症| 1980年五行属什么| 心是什么结构| 肠系膜脂膜炎是什么病| 一个虫一个卑念什么| 肝脏检查挂什么科| 肾阴虚吃什么食物| 乙肝检查挂什么科| 斑鸠幼鸟吃什么| 逆来顺受什么意思| 半套什么意思| 生地黄是什么| 感恩节吃什么| 三月六号是什么星座| 腺癌是什么癌| 皮质醇是什么| 白色搭配什么颜色好看| 斗地主是什么意思| 抗皱用什么产品好| 带状疱疹不能吃什么东西| 官方什么意思| 谷氨酰转肽酶高是什么原因| 黄瓜籽粉有什么功效| 什么一梦| 结石是什么原因造成的| 游龙戏凤是什么意思| 什么情况吃通宣理肺丸| 枸杞子和什么泡水喝补肾壮阳| 脸上突然长痣是什么原因| 尿潴留是什么原因引起的| 守宫砂是什么| 场记是做什么的| 胎心停了是什么原因引起的| notebook是什么意思| 什么事的英文| 翡翠对人体有什么好处| 手指脱皮是什么原因造成的| 青砖茶属于什么茶| 孤独的最高境界是什么| 盆腔积液是什么原因造成的| 金铃子是什么昆虫| 儿童嗓子哑吃什么药| 2014年属什么生肖| 大便不通吃什么药| 众是什么意思| 螺吃什么| 红肉指的是什么肉| 糖尿病吃什么菜最好| 冬天怕冷夏天怕热是什么体质| 肝不好吃什么| 喝黑苦荞茶有什么好处和坏处| 老虎头上为什么有王字| 土星为什么有光环| 梦见别人怀孕是什么意思| 25羟维生素d测定是什么| 康字五行属什么| 二个月不来月经是什么原因| 早期肠癌有什么症状| 百事可乐和可口可乐有什么区别| 249是什么意思| 龙虾喜欢吃什么| 胃疼想吐恶心是什么原因| 梦见出血是什么征兆| 身体游走性疼痛什么病| hcv是什么病毒| 拌嘴是什么意思| 爱放屁吃什么药| 紧张吃什么药| 无花果吃多了有什么坏处| pcv是什么意思| 北属于五行的什么| 喝醋有什么作用与功效| 相交是什么意思| 毕业送什么礼物给老师| 优格是什么| 什么食物降血压| 眼睛总是干涩是什么原因| 伥鬼是什么意思| qrs波代表什么| 婆婆是什么意思| 睡醒后嘴巴苦什么原因| 梁字五行属什么| 小清新是什么意思啊| 黯然泪下是什么意思| 尿糖2个加号是什么意思| 什么不可当| 托孤是什么意思| 狐臭是什么引起的| 幼儿反复发烧是什么原因| 梦魇是什么原因造成的| 大眼角痒是什么原因| 什么的蜡烛| 4.22什么星座| 小孩咳嗽不能吃什么食物| 肩周炎吃什么药| 耳垂后面有痣代表什么| 急腹症是什么意思| 毛囊炎的症状是什么原因引起的| 风水轮流转什么意思| 包臀裙配什么上衣| 6月16日是什么日子| 孕妇吃榴莲对胎儿有什么好处| 破釜沉舟的釜是什么意思| 眩晕呕吐是什么病| 如饥似渴是什么意思| 磨盘有什么风水说法| alds是什么病| 什么东西越晒越湿| 心跳快吃什么药| 中国属于什么半球| 月经推迟十天是什么原因| 咳嗽出血是什么原因| 受是什么意思| 肌筋膜炎吃什么药| 吃什么水果养胃| 一什么地毯| 99足银是什么意思| 吃什么对脾胃好| 甲功不正常有什么表现| 钙化点是什么意思| 梦见狗打架是什么意思| 胰腺炎吃什么消炎药| 什么人不适合做纹绣师| 儿童乳房发育挂什么科| 低血压的人吃什么好| 马云是什么大学毕业的| 圣母娘娘是什么神| 头脑灵活是什么生肖| 脑动脉硬化是什么意思| 七月三号什么星座| 偏旁部首是什么意思| 心肌炎吃什么药效果好| 脑门出汗多是什么原因| 大便不规律是什么原因| 梦见被蛇缠身是什么意思| 肉燕是什么做的| 弯弯的月儿像什么| 小姑娘月经推迟不来什么原因| tf卡是什么| 今夕何夕是什么意思| 身上湿气重吃什么药| airwalk是什么牌子| 如法炮制是什么意思| ms是什么病| 哥字五行属什么| 田七是什么| 太后是皇上的什么人| 手电筒什么牌子的好| 心电图st段改变什么意思| 奇花异草的异是什么意思| 球菌阳性是什么意思| 皮肤痒用什么药膏| 小弟一阵阵的疼什么原因| nba打铁是什么意思| 晚上口苦是什么原因引起的| 北海为什么叫北海| 飞机托运不能带什么| 喘不上气是什么原因| 黄辣丁吃什么食物| maby什么意思| 4月28日什么星座| 什么是桥本氏甲状腺炎| 下下签是什么意思| 少年什么意思| 共情能力是什么意思| 膝盖肿胀是什么原因| 为什么会长结节| moss是什么意思| 扑炎痛又叫什么| 无什么什么什么| 猫驱虫药什么牌子好| 狐假虎威什么意思| 后脑勺发麻是什么原因| 吃羊肉不能吃什么东西| 颈椎曲度变直有什么症状| 中将相当于什么级别| 什么是三级片| 肺有小结节要注意什么| 什么的小学生| 牙虫是什么样的图片| 皮肤病是什么原因造成的| 为什么会长结节| 螃蟹不能和什么一起吃| 为什么睡不着| saucony是什么品牌| 2012年是什么命| 爱豆什么意思| nz是什么意思| 圣诞是什么意思| 贵人相助是什么意思| 吐血是什么原因引起的| 什么气什么现| 瓜蒌是什么东西| 妲己属什么生肖| 靖国神社是什么| 肩周炎是什么引起的| 一个骨一个宽是什么字| 做完磁共振要注意什么| 防晒衣什么品牌好| 夏天有什么蔬菜| 迷你巴拉巴拉和巴拉巴拉什么关系| 嗜碱性粒细胞偏低说明什么| 两个大于号是什么车| 利玛窦什么时候来中国| 左眼一直跳有什么预兆| 什么对雨| 乳腺炎吃什么消炎药| MECT是什么| 肯德基为什么叫kfc| 根有什么作用| 羡煞旁人是什么意思| 小气是什么意思| 幻觉幻听是什么症状| 礼仪是什么| 蓬头垢面是什么意思| 乳腺结节3类什么意思| 男人嘴角有痣代表什么| 野什么意思| 感受是什么意思| afi是胎儿的什么意思| 无精打采是什么意思| 专注力是什么意思| 克罗恩病有什么症状| 双相情感障碍吃什么药| 生物工程是什么专业| 副胎盘什么意思| 面包虫吃什么| 鬼冢虎属于什么档次| 什么的乌鸦| 眼睛视物模糊是什么原因| 码农是什么意思| 觅食是什么意思| 丙氨酸氨基转移酶偏高吃什么药| 儿童嗓子哑了什么原因| 脑白质疏松是什么意思| 周瑜是什么生肖| 喝桦树茸有什么好处| 女人喜欢什么样的阴茎| 经常感冒的人吃什么能增强抵抗力| 小孩咳嗽挂什么科| 阑尾粪石是什么意思| 什么叫稽留流产| 月经期间同房有什么危害| 记性越来越差是什么原因| 小柴胡颗粒主要治什么| 冬阴功汤是什么味道| april什么意思| 后脑勺出汗是什么原因| 过敏性咽炎吃什么药| 百度
Skip to main content

广西推进国家全域旅游示范区和广西特色旅游名县“...

百度 11时25分,关岭大队到位,指挥员查看现场情况后下令:将人员分为两组,一组迅速利用消防车双干线出移动泡沫发生器进行扑灭,并覆盖泄露油品;另一组协助相关部门进行警戒。

To distribute your app with Electron, you need to package and rebrand it. To do this, you can either use specialized tooling or manual approaches.

With tooling?

There are a couple tools out there that exist to package and distribute your Electron app. We recommend using Electron Forge. You can check out its documentation directly, or refer to the Packaging and Distribution part of the Electron tutorial.

Manual packaging?

If you prefer the manual approach, there are 2 ways to distribute your application:

  • With prebuilt binaries
  • With an app source code archive

With prebuilt binaries?

To distribute your app manually, you need to download Electron's prebuilt binaries. Next, the folder containing your app should be named app and placed in Electron's resources directory as shown in the following examples.

note

The location of Electron's prebuilt binaries is indicated with electron/ in the examples below.

macOS
electron/Electron.app/Contents/Resources/app/
├── package.json
├── main.js
└── index.html
Windows and Linux
electron/resources/app
├── package.json
├── main.js
└── index.html

Then execute Electron.app on macOS, electron on Linux, or electron.exe on Windows, and Electron will start as your app. The electron directory will then be your distribution to deliver to users.

With an app source code archive (asar)?

Instead of shipping your app by copying all of its source files, you can package your app into an asar archive to improve the performance of reading files on platforms like Windows, if you are not already using a bundler such as Parcel or Webpack.

To use an asar archive to replace the app folder, you need to rename the archive to app.asar, and put it under Electron's resources directory like below, and Electron will then try to read the archive and start from it.

macOS
electron/Electron.app/Contents/Resources/
└── app.asar
Windows
electron/resources/
└── app.asar

You can find more details on how to use asar in the electron/asar repository.

Rebranding with downloaded binaries?

After bundling your app into Electron, you will want to rebrand Electron before distributing it to users.

  • Windows: You can rename electron.exe to any name you like, and edit its icon and other information with tools like rcedit.

  • Linux: You can rename the electron executable to any name you like.

  • macOS: You can rename Electron.app to any name you want, and you also have to rename the CFBundleDisplayName, CFBundleIdentifier and CFBundleName fields in the following files:

    • Electron.app/Contents/Info.plist
    • Electron.app/Contents/Frameworks/Electron Helper.app/Contents/Info.plist

    You can also rename the helper app to avoid showing Electron Helper in the Activity Monitor, but make sure you have renamed the helper app's executable file's name.

    The structure of a renamed app would be like:

MyApp.app/Contents
├── Info.plist
├── MacOS/
│ └── MyApp
└── Frameworks/
└── MyApp Helper.app
├── Info.plist
└── MacOS/
└── MyApp Helper
note

it is also possible to rebrand Electron by changing the product name and building it from source. To do this you need to set the build argument corresponding to the product name (electron_product_name = "YourProductName") in the args.gn file and rebuild.

Keep in mind this is not recommended as setting up the environment to compile from source is not trivial and takes significant time.

百度