Skip to content

Error on Windows build script #3

@azures04

Description

@azures04

Hello, I have encountered an issue with the windows build script

Here is my Error

ERROR: Missing buildScript JSON structure in ./neutralino.config.json

And here is my config file
neutralino.config.json

{
    "$schema": "https://raw.githubusercontent.com/neutralinojs/neutralinojs/main/schemas/neutralino.config.schema.json",
    "applicationId": "fr.chibieditorteam.chibieditor-lite",
    "version": "1.3.0-alpha",
    "defaultMode": "window",
    "port": 0,
    "documentRoot": "/resources/",
    "url": "/",
    "enableServer": true,
    "enableNativeAPI": true,
    "tokenSecurity": "one-time",
    "logging": {
        "enabled": true,
        "writeToLogFile": true
    },
    "nativeAllowList": [
        "app.*",
        "os.*",
        "window.*",
        "debug.log",
        "filesystem.*"
    ],
    "globalVariables": {
    },
    "modes": {
        "window": {
            "title": "ChibiEditor-Lite",
            "width": 900,
            "height": 600,
            "minWidth": 900,
            "minHeight": 600,
            "center": true,
            "fullScreen": false,
            "alwaysOnTop": false,
            "icon": "/static/logo.png",
            "enableInspector": true,
            "borderless": false,
            "maximize": false,
            "hidden": false,
            "resizable": true,
            "exitProcessOnClose": true
        },
        "browser": {
            "nativeBlockList": [
            ]
        },
        "cloud": {
            "url": "/resources/#cloud",
            "nativeAllowList": [
                "app.*"
            ]
        },
        "chrome": {
            "width": 900,
            "height": 600,
            "args": "--user-agent=\"Neutralinojs chrome mode\""
        }
    },
    "cli": {
        "binaryName": "ChibiEditor-Lite",
        "resourcesPath": "/resources/",
        "extensionsPath": "/extensions/",
        "clientLibrary": "/resources/js/neutralino.js",
        "binaryVersion": "5.4.0",
        "clientVersion": "5.4.0"
    },
    "buildScript": {
        "mac": {
            "architecture": ["x64", "arm64", "universal"],
            "minimumOS": "10.13.0",
            "appName": "ChibiEditor 1.3 - Lite Edition",
            "appBundleName": "ChibiEditor 1.3 - Lite Edition",
            "appIdentifier": "fr.chibieditorteam.chibieditor-lite",
            "appIcon":  "static/icon.icns"
        },
        "win": {
            "architecture": ["x64"],
            "appName": "ChibiEditor 1.3 - Lite Edition",
            "appIcon": "static/icon.ico"
        },
        "linux": {
            "architecture": ["x64", "arm64", "armhf"],
            "appName": "ChibiEditor 1.3 - Lite Edition",
            "appIcon": "static/icon.png",
            "appPath":  "/usr/share/chibieditor_1.3-lite_edition",
            "appIconPath": "/usr/share/chibieditor_1.3-lite_edition/icon.png",
            "appIconLocation": "/usr/share/chibieditor_1.3-lite_edition/icon.png"
        }
    }
}

As you seen, the buildScript key is well present, so I don't understand why the script don't see it
Thank you in advance ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions