You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple example, creates a directory with one file in it which has a mulitbyte character filename. The pack apparently works, but list gives an error, and unpack fails silently
mkdir g
echo a > g\女の子.txt
node ..\node_modules\asar\bin\asar pack g t.asar
node ..\node_modules\asar\bin\asar list t.asar
undefined:1
{"files":{"女の子.txt":{"size":8,"offset":
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at Object.module.exports.readArchiveHeaderSync (C:\repos\eagle-print\desktop\node_modules\asar\lib\disk.js:97:20)
at Object.module.exports.readFilesystemSync (C:\repos\eagle-print\desktop\node_modules\asar\lib\disk.js:105:21)
at Object.module.exports.listPackage (C:\repos\eagle-print\desktop\node_modules\asar\lib\asar.js:141:17)
at Command.<anonymous> (C:\repos\eagle-print\desktop\node_modules\asar\bin\asar:42:23)
at Command.listener (C:\repos\eagle-print\desktop\node_modules\asar\node_modules\commander\index.js:249:8)
at emitTwo (events.js:87:13)
at Command.emit (events.js:172:7)
at Command.parseArgs (C:\repos\eagle-print\desktop\node_modules\asar\node_modules\commander\index.js:480:12)
at Command.parse (C:\repos\eagle-print\desktop\node_modules\asar\node_modules\commander\index.js:372:21)
The text was updated successfully, but these errors were encountered:
Simple example, creates a directory with one file in it which has a mulitbyte character filename. The pack apparently works, but list gives an error, and unpack fails silently
The text was updated successfully, but these errors were encountered: