Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Windows build script #3

Open
azures04 opened this issue Nov 8, 2024 · 0 comments
Open

Error on Windows build script #3

azures04 opened this issue Nov 8, 2024 · 0 comments

Comments

@azures04
Copy link

azures04 commented Nov 8, 2024

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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant