Convert line endings when using Atr

This commit is contained in:
Bryan Ashby 2018-06-30 11:55:13 -06:00
parent 35c5c5dd0f
commit c894ed17ec
1 changed files with 1 additions and 4 deletions

View File

@ -601,11 +601,8 @@ function getDefaultConfig() {
},
extract : {
cmd : 'atr',
// :TODO: If text, we need to ensure to normalize
// :TODO: can only do a single file & need full path. May need e.g. {fileName}, '{extractPath}\{fileName}' ???
// ....create a small wrapper .js: atrex.js --extract {archivePath} --to {extractPath}
// note: -l converts Atari 0x9b line feeds to 0x0a; not ideal if we're dealing with a binary of course.
args : [ '{archivePath}', 'x', '-a', '-o', '{extractPath}', '{fileList}' ]
args : [ '{archivePath}', 'x', '-a', '-l', '-o', '{extractPath}', '{fileList}' ]
}
}
},