Skip to content

electron-builder not generating "latest.yml" file on Windows (NSIS) #925

@Zamiell

Description

@Zamiell
  • Version: 8.6.0
  • Target: win32 x64

  • Build command:
    npm run dist --python="C:/Python27/python.exe"

  • Console output:

> RacingPlus@ dist2 D:\Repositories\isaac-racing-client
> build --publish always

Rebuilding native production dependencies for arch x64
Packaging for win32 x64 using electron 1.4.7 to dist\win-unpacked
Packaging NSIS installer for arch x64
Building NSIS installer
  • Main package.json:
{
  "name": "RacingPlus",
  "description": "A racing mod for The Binding of Isaac: Afterbirth+.",
  "scripts": {
    "start": "electron ./app",
    "postinstall": "install-app-deps",
    "pack": "build --dir",
    "dist": "build",
  },
  "build": {
    "appId": "org.electron.isaacRacingClient",
    "win": {},
    "publish": {
      "provider": "github"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Zamiell/isaac-racing-client.git"
  },
  "license": "GPL-3.0",
  "bugs": {
    "url": "https://github.com/Zamiell/isaac-racing-client/issues"
  },
  "homepage": "https://isaacracing.net",
  "devDependencies": {
    "electron": "^1.4.7",
    "electron-builder": "^8.6.0"
  }
}
  • App package.json (in app subdirectory):
{
  "name": "RacingPlus",
  "productName": "Racing+",
  "main": "./main.js",
  "version": "0.0.1",
  "description": "A racing mod for The Binding of Isaac: Afterbirth+.",
  "author": "Racing+",
  "license": "GPL-3.0",
  "dependencies": {
    "electron-auto-updater": "^0.5.3",
    "electron-is-dev": "^0.1.2",
    "fs-extra": "^1.0.0",
    "keytar": "^3.0.2",
    "tail": "^1.2.1",
    "teeny-conf": "^1.0.1"
  }
}
  • Node version: v6.9.1
  • NPM version: 3.10.8
  • OS: Windows 7 x64 Professional

After building my app, I get a Racing+ Setup 0.0.1.exe in my dist subfolder. This is all well and good. But shouldn't there be a latest.yml there too? I need to upload that file to my GitHub releases page in order for automatic updating to work. Where am I supposed to get the latest.yml file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions