mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
Finish refactor upgrade and add RAM estimates to manifest
This commit is contained in:
parent
571bf6dcee
commit
b7c0120eab
2 changed files with 10 additions and 10 deletions
|
@ -3,7 +3,7 @@ id = "mautrix_whatsapp"
|
||||||
name = "Matrix-WhatsApp bridge"
|
name = "Matrix-WhatsApp bridge"
|
||||||
description.en = "Matrix / Synapse puppeting bridge for WhatsApp"
|
description.en = "Matrix / Synapse puppeting bridge for WhatsApp"
|
||||||
description.fr = "Passerelle Matrix / Synapse pour WhatsApp"
|
description.fr = "Passerelle Matrix / Synapse pour WhatsApp"
|
||||||
version = "0.8.5~ynh1"
|
version = "0.9.0~ynh1"
|
||||||
maintainers = ["thardev"]
|
maintainers = ["thardev"]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
|
@ -19,8 +19,8 @@ multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
sso = false
|
sso = false
|
||||||
disk = "100M"
|
disk = "100M"
|
||||||
ram.build = "1M"
|
ram.build = "256M"
|
||||||
ram.runtime = "1M"
|
ram.runtime = "1024M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
|
|
||||||
|
@ -107,9 +107,9 @@ main.default = 8449
|
||||||
in_subdir = false
|
in_subdir = false
|
||||||
extract = false
|
extract = false
|
||||||
rename = "mautrix-whatsapp"
|
rename = "mautrix-whatsapp"
|
||||||
amd64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.8.5/mautrix-whatsapp-amd64"
|
amd64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.9.0/mautrix-whatsapp-amd64"
|
||||||
amd64.sha256 = "2989419b6c8ce870189359a44a1642a22e6cc87d6344123622fa2d59d073a339"
|
amd64.sha256 = "27b5d3ee0cada177207b662072b42923956e38a9c10c4e167eeca17881f3bffb"
|
||||||
arm64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.8.5/mautrix-whatsapp-arm64"
|
arm64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.9.0/mautrix-whatsapp-arm64"
|
||||||
arm64.sha256 = "e9c34620f5748bac34f4d15d9e9088ecf8676288edc9460bf6245688eafd6367"
|
arm64.sha256 = "dc475a2af45988d6d428af18c5f2a30da24930201e0e667a0b749a198a3bd02d"
|
||||||
armhf.url = "https://github.com/mautrix/whatsapp/releases/download/v0.8.5/mautrix-whatsapp-arm"
|
armhf.url = "https://github.com/mautrix/whatsapp/releases/download/v0.9.0/mautrix-whatsapp-arm"
|
||||||
armhf.sha256 = "6f664454fccabe023c6d7eb8ad85ed80ba7c5691605e16977cfc67ffed1a252a"
|
armhf.sha256 = "22c28d17ec868c4579e8ed64e092b0947a268c82ed9714d3ae45ace05b477fd8"
|
|
@ -181,7 +181,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=2
|
ynh_script_progression --message="Upgrading source files..." --weight=2
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir" --source_id=$YNH_ARCH
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue