Appjs openDialog return value is malformed

using appjs-0.0.20-win32-ia32

window.frame.openDialog({
            type: 'save', 
            title: 'Save...', 
            multiSelect: false, 
            dirSelect:true           
            }, function( err , files ) {
               for(var i=0;i<files.length;i++) {
                  console.log(files[i]);
               }

           });

      

example: 轠 ѓ 轤 ѓ 轤 ѓlo

This issue only occurs on Windows 7 with dirSelect true, it works correctly on Ubuntu 12.04. Also, it works correctly if I used the openDialog dirSelect false mode, which is included in the file list. I tried both 64 bit and 32 bit machines.

+3


source to share





All Articles