Prosody Appimage: supports only x86_64:
* stop trying to generated an ARM64 AppImage (as it is buggy) * display a warning in the settings if incompatible CPU detected * documentation for a workaround Implements #120.
This commit is contained in:
@ -35,6 +35,23 @@ export async function diagProsody (test: string, options: RegisterServerOptions)
|
||||
|
||||
result.messages.push(`Prosody will use ${wantedConfig.baseApiUrl} as base uri from api calls`)
|
||||
|
||||
if (!wantedConfig.paths.exec) {
|
||||
result.messages.push({
|
||||
level: 'error',
|
||||
message: 'Error: no Prosody server.'
|
||||
})
|
||||
if (process.arch !== 'x64' && process.arch !== 'x86_64') {
|
||||
result.messages.push({
|
||||
level: 'error',
|
||||
message: 'Error: your CPU is a ' +
|
||||
process.arch + ', ' +
|
||||
'which is not compatible with the plugin. ' +
|
||||
'Please read the plugin installation documentation for a workaround.'
|
||||
})
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
result.messages.push(`Prosody path will be '${wantedConfig.paths.exec}'`)
|
||||
|
||||
if (wantedConfig.paths.appImageToExtract) {
|
||||
|
Reference in New Issue
Block a user