Renamed emulatoren to emulation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Generate RELEASE_X.ini files by fetching latest GitHub release tags
|
||||
for sysmodules, overlays, apps, and emulatoren.
|
||||
for sysmodules, overlays, apps, and emulation.
|
||||
"""
|
||||
|
||||
import re
|
||||
@@ -102,7 +102,7 @@ def generate_release_ini(category: str, entries: List[Dict[str, str]], output_pa
|
||||
section_name = 'Versions'
|
||||
elif category == 'apps':
|
||||
section_name = 'Versions'
|
||||
elif category == 'emulatoren':
|
||||
elif category == 'emulation':
|
||||
section_name = 'Versions'
|
||||
else:
|
||||
section_name = 'Release Info'
|
||||
@@ -207,13 +207,13 @@ def main():
|
||||
result = generate_release_ini('apps', entries, output_path)
|
||||
all_results.append(result)
|
||||
|
||||
# Process emulatoren
|
||||
emulatoren_path = include_path / "emulatoren" / "emulatoren.ini"
|
||||
if emulatoren_path.exists():
|
||||
entries = parse_ini_file(emulatoren_path)
|
||||
# Process emulation
|
||||
emulation_path = include_path / "emulation" / "emulation.ini"
|
||||
if emulation_path.exists():
|
||||
entries = parse_ini_file(emulation_path)
|
||||
if entries:
|
||||
output_path = include_path / "emulatoren" / "RELEASE_EM.ini"
|
||||
result = generate_release_ini('emulatoren', entries, output_path)
|
||||
output_path = include_path / "emulation" / "RELEASE_EM.ini"
|
||||
result = generate_release_ini('emulation', entries, output_path)
|
||||
all_results.append(result)
|
||||
|
||||
# Print final monitoring summary
|
||||
|
||||
8
include/emulation/boot_package.ini
Normal file
8
include/emulation/boot_package.ini
Normal file
@@ -0,0 +1,8 @@
|
||||
[boot]
|
||||
set-ini-val ./include/emulation/config.ini melonDS 'footer' ''
|
||||
set-ini-val ./include/emulation/config.ini PPSSPP-NX 'footer' ''
|
||||
|
||||
download https://git.niklascfw.de/OmniNX/OmniNX-Downloader/raw/branch/main/include/emulation/RELEASE_EM.ini ./include/emulation/RELEASE_EM.ini
|
||||
ini_file ./include/emulation/RELEASE_EM.ini
|
||||
set-ini-val ./include/emulation/config.ini melonDS 'footer' '{ini_file(Versions,melonDS)}'
|
||||
set-ini-val ./include/emulation/config.ini PPSSPP-NX 'footer' '{ini_file(Versions,PPSSPP-NX)}'
|
||||
@@ -28,7 +28,7 @@ try:
|
||||
download https://git.niklascfw.de/api/v1/repos/OmniNX/PPSSPP-NX/releases?limit=1 /config/ultrahand/downloads/ppsspp-nx-api.json
|
||||
json_file /config/ultrahand/downloads/ppsspp-nx-api.json
|
||||
download {json_file(0,assets,0,browser_download_url)} /config/ultrahand/downloads/ppsspp-nx.zip
|
||||
unzip /config/ultrahand/downloads/ppsspp-nx.zip '/switch/'
|
||||
unzip '/config/ultrahand/downloads/ppsspp-nx.zip' '/switch/'
|
||||
delete /config/ultrahand/downloads/ppsspp-nx-api.json
|
||||
delete /config/ultrahand/downloads/ppsspp-nx.zip
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[boot]
|
||||
set-ini-val ./include/emulatoren/config.ini melonDS 'footer' ''
|
||||
set-ini-val ./include/emulatoren/config.ini PPSSPP-NX 'footer' ''
|
||||
|
||||
download https://git.niklascfw.de/OmniNX/OmniNX-Downloader/raw/branch/main/include/emulatoren/RELEASE_EM.ini ./include/emulatoren/RELEASE_EM.ini
|
||||
ini_file ./include/emulatoren/RELEASE_EM.ini
|
||||
set-ini-val ./include/emulatoren/config.ini melonDS 'footer' '{ini_file(Versions,melonDS)}'
|
||||
set-ini-val ./include/emulatoren/config.ini PPSSPP-NX 'footer' '{ini_file(Versions,PPSSPP-NX)}'
|
||||
@@ -34,8 +34,8 @@ package_source ./include/os/os.ini
|
||||
|
||||
[*Emulatoren]
|
||||
;mode=forwarder
|
||||
exec boot ./include/emulatoren/boot_package.ini
|
||||
package_source ./include/emulatoren/emulatoren.ini
|
||||
exec boot ./include/emulation/boot_package.ini
|
||||
package_source ./include/emulation/emulation.ini
|
||||
|
||||
[*System Module]
|
||||
;mode=forwarder
|
||||
|
||||
Reference in New Issue
Block a user