No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Electron packager , how to exclude file

    Help
    1
    2
    330
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fprijatelj last edited by

      In my Electron app i’am using exiftool-vendored, which calls external exe file.
      My app is working fine with quasar dev -m electron.
      After building it with packager it stops working.
      Problem is exiftool-vendored.exe which is packed in asar file.
      How to exclude it.
      I have tried with configuration in quasar.config.js, : instructions
      …

      electron: {
            bundler: 'packager', // 'packager' or 'builder'
      
            packager: {
              asar: {
                unpack: './node_modules/exiftool-vendored.exe',
      
              }
            }
           ...
      

      but it doesn’t work

      1 Reply Last reply Reply Quote 0
      • F
        fprijatelj last edited by

        I have found solution after reading asar documentation.
        Instead of unpack , there must be unpackDir.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post