diff --git a/README.md b/README.md
index 764dd92..a8124d2 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Calckey for YunoHost
-[](https://dash.yunohost.org/appci/app/calckey)  
+[](https://dash.yunohost.org/appci/app/calckey)  
[](https://install-app.yunohost.org/?app=calckey)
*[Lire ce readme en français.](./README_fr.md)*
diff --git a/README_fr.md b/README_fr.md
index 357bf10..a205a30 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -5,15 +5,15 @@ It shall NOT be edited by hand.
# Calckey pour YunoHost
-[](https://dash.yunohost.org/appci/app/calckey)  
+[](https://dash.yunohost.org/appci/app/calckey)  
[](https://install-app.yunohost.org/?app=calckey)
*[Read this readme in english.](./README.md)*
-> *Ce package vous permet d'installer Calckey rapidement et simplement sur un serveur YunoHost.
-Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
+> *Ce package vous permet d’installer Calckey rapidement et simplement sur un serveur YunoHost.
+Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
-## Vue d'ensemble
+## Vue d’ensemble
Un fork grandement amélioré de Misskey avec une meilleure UI/UX, sécurité, fonctionnalités, et plus encore ! https://i.calckey.cloud/
@@ -26,9 +26,9 @@ Un fork grandement amélioré de Misskey avec une meilleure UI/UX, sécurité, f
**Démo :** https://i.calckey.cloud/
-## Captures d'écran
+## Captures d’écran
-
+
## Avertissements / informations importantes
@@ -56,8 +56,8 @@ screen -r
## Documentations et ressources
-* Site officiel de l'app :
-* Dépôt de code officiel de l'app :
+* Site officiel de l’app :
+* Dépôt de code officiel de l’app :
* Documentation YunoHost pour cette app :
* Signaler un bug :
@@ -73,4 +73,4 @@ ou
sudo yunohost app upgrade calckey -u https://github.com/YunoHost-Apps/calckey_ynh/tree/testing --debug
```
-**Plus d'infos sur le packaging d'applications :**
+**Plus d’infos sur le packaging d’applications :**
\ No newline at end of file
diff --git a/check_process b/check_process
index b998615..43ab1de 100644
--- a/check_process
+++ b/check_process
@@ -11,7 +11,8 @@
setup_private=1
setup_public=1
upgrade=1
- # upgrade=1 from_commit=CommitHash
+ # v13.0.5
+ upgrade=1 from_commit=89f4f52e3cb3c9daf8eff43aab67bcda475da410
backup_restore=1
multi_instance=0
change_url=0
diff --git a/scripts/install b/scripts/install
old mode 100755
new mode 100644
index 0aeeba2..b2b6dea
--- a/scripts/install
+++ b/scripts/install
@@ -134,9 +134,9 @@ pushd "$final_path"
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
- ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
+ ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
- ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init
+ ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init
popd
#=================================================
diff --git a/scripts/restore b/scripts/restore
old mode 100755
new mode 100644
index 075f5db..82eb7db
--- a/scripts/restore
+++ b/scripts/restore
@@ -74,7 +74,12 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
-# enable pnpm again
+#=================================================
+# REINSTALL PNPM
+#=================================================
+ynh_script_progression --message="Reinstalling pnpm..." --weight=1
+
+# Define and install pnpm
pushd "$final_path"
ynh_use_nodejs
corepack enable
diff --git a/scripts/upgrade b/scripts/upgrade
index 533b384..d297831 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -120,7 +120,6 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
-ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
# NGINX CONFIGURATION