1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/code-server_ynh.git synced 2024-09-03 18:16:28 +02:00
This commit is contained in:
Tagadda 2022-01-17 01:22:36 +00:00
parent b5bc73101c
commit 9d53cbbbe3
2 changed files with 8 additions and 1 deletions

View file

@ -5,7 +5,6 @@
#================================================= #=================================================
extensions_gallery="{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}" extensions_gallery="{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}"
auth="none"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -83,6 +83,14 @@ then
ynh_app_setting_delete --app=$app --key="enable_proposed_api" ynh_app_setting_delete --app=$app --key="enable_proposed_api"
fi fi
if [ "$hashed_password" ]
then
auth="password"
else
auth="none"
fi
ynh_app_setting_get --app=$app --key=auth --value=$auth
ynh_secure_remove --file=$final_path ynh_secure_remove --file=$final_path
mkdir -p $final_path mkdir -p $final_path
fi fi