const scriptUtil = require('./script-util.js')
const path = require('path')

exports.default = async function (context) {
  if (
    context.electronPlatformName === 'win' ||
    context.electronPlatformName === 'linux'
  ) {
    return scriptUtil.executeCmd({}, 'npx', [
      'copyfiles',
      '-V',
      '-u',
      '5',
      path.resolve(context.outDir, '../apack.json'),
      context.appOutDir,
    ])
  }
}

@@ -308,20 +308,9 @@
   '-
-u',%0A      '5
+f
 ',%0A 

fix copy command arg