Open
Description
- Electron-Builder Version: 23.0.3
- Node Version: 14.17.6
- Electron Version: 18.0.3
- Electron Type (current, beta, nightly): current
- Target: linux - snap
The linux snap configaration - autoStart shows that it must be a boolean value, but snap already supported string
value as a auto launch desktop conf such as app-name.desktop
.
autoStart = false Boolean - Whether or not the snap should automatically start on login.
Please check this link to get fully description.
{
...
"snap": {
"summary": "Shadowsocks GUI with cross-platform desktop support",
"autoStart": "shadowsocks-elecron.desktop",
"grade": "stable"
}
}
I tried it and the build task will failed with a warning:
⨯ Invalid configuration object. electron-builder 23.0.3 has been initialized using a configuration object that does not match the API schema.
- configuration.snap.autoStart should be a boolean.
-> Whether or not the snap should automatically start on login.