feat: add script for converting iso to chd.
This commit is contained in:
parent
f1c37c598f
commit
6276e0b53d
7
modules/home-manager/scripts/bin/iso2chd
Executable file
7
modules/home-manager/scripts/bin/iso2chd
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
for File in *.iso; do
|
||||
[ -f "$File" ] || continue
|
||||
chdman createdvd -i "$File" -o "${File%.iso}.chd"
|
||||
rm -v "$File"
|
||||
done
|
@ -19,5 +19,9 @@ with pkgs;
|
||||
# Add dependencies to the runtime for my cue2chd script
|
||||
wrapProgram $out/bin/cue2chd \
|
||||
--prefix PATH : ${lib.makeBinPath [mame-tools]}
|
||||
|
||||
# Add dependencies to the runtime for my iso2chd script
|
||||
wrapProgram $out/bin/cue2chd \
|
||||
--prefix PATH : ${lib.makeBinPath [mame-tools]}
|
||||
'';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user