美文网首页
electron forge 配置文件

electron forge 配置文件

作者: 千罹 | 来源:发表于2021-10-27 16:06 被阅读0次
    {
      "name": "build",
      "version": "1.0.0",
      "main": "main.js",
      "license": "MIT",
      "devDependencies": {
        "@electron-forge/cli": "^6.0.0-beta.61",
        "@electron-forge/maker-deb": "^6.0.0-beta.61",
        "@electron-forge/maker-dmg": "^6.0.0-beta.61",
        "@electron-forge/maker-rpm": "^6.0.0-beta.61",
        "@electron-forge/maker-squirrel": "^6.0.0-beta.61",
        "@electron-forge/maker-zip": "^6.0.0-beta.61",
        "electron": "15.3.0"
      },
      "author": "test",
      "Description": "test",
      "dependencies": {
        "electron-squirrel-startup": "^1.0.0"
      },
      "scripts": {
        "start": "electron-forge start",
        "package": "electron-forge package",
        "make": "electron-forge make"
      },
      "config": {
        "forge": {
          "packagerConfig": {
            "name": "blablabla-the-name",
            "icon": "./logo512"
          },
          "makers": [
            {
              "name": "@electron-forge/maker-squirrel",
              "config": {
                "name": "build"
              }
            },
            {
              "name": "@electron-forge/maker-zip",
              "platforms": [
                "darwin",
                "linux"
              ]
            },
            {
              "name": "@electron-forge/maker-deb",
              "config": {}
            },
            {
              "name": "@electron-forge/maker-rpm",
              "config": {}
            },
            {
              "name": "@electron-forge/maker-dmg",
              "config": {
                "background": "./logo512.png",
                "format": "ULFO"
              }
            }
          ]
        }
      }
    }
    
    

    相关文章

      网友评论

          本文标题:electron forge 配置文件

          本文链接:https://www.haomeiwen.com/subject/zsdpaltx.html