1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/httpsh_ynh.git synced 2024-09-03 19:25:55 +02:00

Fix httpsh install

This commit is contained in:
Félix Piédallu 2023-09-26 12:41:05 +02:00
parent 37f459efd2
commit 5d47ff6aa5
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
OPTIONS="-a -i lo -t rendererType=canvas -t theme=\"{'background': '#000', 'foreground': '#c7c7c7', 'cursor': '#c7c7c7'}\" -t cursorBlink=true"
COMMAND="__INSTALL_DIR__/httpsh"
OPTIONS="-p __PORT__ -a -i lo -t rendererType=canvas -t theme=\"{'background': '#000', 'foreground': '#c7c7c7', 'cursor': '#c7c7c7'}\" -t cursorBlink=true"
COMMAND="__INSTALL_DIR__/httpsh-ttyd-login"
COMMAND_ARGS=""

View file

@ -19,7 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh"
# TODO: copy files where needed
mv "$install_dir/httpsh/usr/local/bin/ttyd-login" "$install_dir/httpsh"
mv "$install_dir/httpsh/usr/local/bin/ttyd-login" "$install_dir/httpsh-ttyd-login"
ynh_add_config --template="../conf/ttyd_httpsh.conf" --destination="$install_dir/ttyd_httpsh.conf"