mirror of
https://github.com/YunoHost-Apps/retroarch_ynh.git
synced 2024-09-03 20:16:12 +02:00
add comment to file
This commit is contained in:
parent
b9c330f392
commit
9652947eed
3 changed files with 13 additions and 2 deletions
2
conf/README.GAME
Normal file
2
conf/README.GAME
Normal file
|
@ -0,0 +1,2 @@
|
|||
You may put ROMs to be used by retroarch in this folder.
|
||||
After a 5 minute delay, they should be available in retroarch itself in the "download/Game" directory.
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
#This script is run by the cron job in /etc/cron.d/retroarch
|
||||
#It will index all cores in the opt/yunohost/retroarch/assets/cores folder so that they are available in
|
||||
# retroarch itself.
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
@ -9,9 +10,16 @@
|
|||
source /usr/share/yunohost/helpers
|
||||
source _common.sh
|
||||
|
||||
#=================================================
|
||||
# GET APP SETTINGS
|
||||
#=================================================
|
||||
|
||||
app=__APP__
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
|
||||
#=================================================
|
||||
# Update the index
|
||||
#=================================================
|
||||
|
||||
ynh_use_nodejs
|
||||
cd $final_path/assets/frontend/bundle/
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
#This script will update the core index every 5 minutes so that they are available in retroarch
|
||||
*/5 * * * * root __FINAL_PATH__/indexer.sh > /dev/null 2>&1
|
Loading…
Reference in a new issue