nwjs/grunt-nw-builder

Unable to Simultaneously Build for win32 and win64 Platforms

pouu69 opened this issue · 2 comments

      options: {
            name : 'tyle-v1.1',
            platforms: ['win64', 'win32'],
            version: '0.22.2',
            macIcns : './src/resources/osx/tyle_logo_electron.icns',
            winIco : './src/resources/windows/tyle_logo_electron.ico',
            cacheDir : './.cache',
            buildDir: './build',
            flavor: 'normal',
            zip : true,
            zipOptions : {
              forceLocalTime : true,
              comment : "tyle.io desktop app window version"
            },
            macPlist: {
                CFBundleDevelopmentRegion: "ko",
                CFBundleDisplayName: "tyle-v1.1",
                CFBundleName: "tyle-v1.1",
            }
      },
      src: './src/**/*' // Your NW.js app

error mesage :

Unhandled Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\tubloo\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x1dc7700 + 0x001cb> in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, System.String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) <0x1dc76a8 + 0x00043> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, Boolean append, Boolean checkHost) <0x1e280d0 + 0x00097> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize, Boolean checkHost) <0x1e27f70 + 0x00063> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) <0x1e27f28 + 0x00037> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) <0x1e27e70 + 0x00033> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) <0x1db0fc0 + 0x0056b> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\tubloo\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x1dc7700 + 0x001cb> in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, System.String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) <0x1dc76a8 + 0x00043> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, Boolean append, Boolean checkHost) <0x1e280d0 + 0x00097> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize, Boolean checkHost) <0x1e27f70 + 0x00063> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) <0x1e27f28 + 0x00037> in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) <0x1e27e70 + 0x00033> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) <0x1db0fc0 + 0x0056b> in <filename unknown>:0 
Fatal error: Error while updating the Windows icon. Wine (winehq.org) must be installed to add custom icons from Mac and Linux.

same issue with nw-builder 3.2.3

Seems to working now in nw-builder v3.7.3.