diff --git a/scripts/upgrade b/scripts/upgrade index 73d0c75..e850b59 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,7 +62,6 @@ then 7zr x $final_path/retroarch.7z -o$final_path #mv not working as target directory is not empty cp -R $final_path/retroarch/* $final_path/ - mv $final_path/retroarch/* $final_path/ ynh_secure_remove --file="$final_path/retroarch.7z" ynh_secure_remove --file="$final_path/retroarch" touch $final_path/analytics.js #https://github.com/libretro/RetroArch/issues/4539#issuecomment-473345195 @@ -90,6 +89,8 @@ ynh_script_progression --message="Setting up Multimedia directory..." --weight=9 ynh_multimedia_build_main_dir mkdir -p $final_path/assets/cores/Game ynh_multimedia_addfolder --source_dir="$final_path/assets/cores/Game" --dest_dir="/share/Game" +ynh_add_config --template="../conf/README.GAME" --destination="$final_path/assets/cores/Game/README" +chmod 666 $final_path/assets/cores/Game/README #================================================= # NGINX CONFIGURATION