Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

quasar build -m electron overwrites all previous electron builds in the dist folder #174

Open
dannyconnell opened this issue Aug 31, 2018 · 0 comments

Comments

@dannyconnell
Copy link

Software version

OS: Mac
Node: 8.11.2
NPM: 5.6.0
Quasar CLI: 0.17.7

What did you get as the error?

Running quasar build -m electron overwrites any previously created electron builds in the dist folder.

What were you expecting?

I would expect previous builds (of a different architecture / platform) to remain, alongside the newly created build. For example, when creating Windows 10 apps, you need to build both a 32-bit version and a 64-bit version - so the desire would be to first create the 64-bit version, then create the 32-bit version without the 64-bit version being deleted.

What steps did you take, to get the error?

  • In quasar.conf.js, set the architecture to 64-bit and the platform to Windows:
electron: {
  packager: {
    platform: 'win32',
    arch: 'x64'
  }
}
  • Create the build: quasar build -m electron
  • This will create the build in the folder dist > electron-mat > MyApp-win32-x64
  • Now, change the architecture to 32-bit:
electron: {
  packager: {
    platform: 'win32',
    arch: 'ia32'
  }
}
  • Create the build: quasar build -m electron
  • Once complete, note that the first build folder (MyApp-win32-x64) has been removed
@dannyconnell dannyconnell changed the title quasar build -m electron overwrites all previous Windows electron builds in the dist folder quasar build -m electron overwrites all previous electron builds in the dist folder Aug 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant