diff --git a/check_process b/check_process index 963a84a..9dbf9e8 100644 --- a/check_process +++ b/check_process @@ -18,14 +18,5 @@ port_already_use=0 change_url=1 ;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto - Level 4=0 Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 \ No newline at end of file diff --git a/manifest.json b/manifest.json index 8563baf..f6c051f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "2048 game clone", "fr": "Clone du jeu 2048" }, - "version": "1.0~ynh2", + "version": "1.0~ynh3", "url": "https://github.com/hgentry/81/", "license": "MIT", "maintainer": { @@ -14,7 +14,7 @@ "email": "ericgaspar@free.fr" }, "requirements": { - "yunohost": ">= 3.7.0" + "yunohost": ">= 4.0.0" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index a5d8867..66cfb29 100755 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ chown -R root: $final_path ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Make app public if necessary or protect it -[ $is_public -eq 0 ] || ynh_permission_update --permission "main" --add "visitors" +[ $is_public -eq 1 ] || ynh_permission_update --permission "main" --add "visitors" #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index 993d052..10a7628 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -93,14 +93,6 @@ ynh_add_nginx_config # Set permissions on app files chown -R root: $final_path -#================================================= -# SETUP SSOWAT -#================================================= -ynh_script_progression --message="Upgrading SSOwat configuration..." --weight=1 - -# Make app public if necessary or protect it -[ $is_public -eq 0 ] || ynh_permission_update --permission "main" --add "visitors" - #================================================= # RELOAD NGINX #=================================================