Commit 8400d19e authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 39bc850e
...@@ -10,12 +10,12 @@ module.exports = (grunt) => { ...@@ -10,12 +10,12 @@ module.exports = (grunt) => {
break; break;
case 'win32': case 'win32':
grunt.loadNpmTasks('grunt-electron-installer'); grunt.loadNpmTasks('grunt-electron-installer');
release_task = ['electron:win32', 'copy:bundle', 'create-windows-installer']; release_task = ['electron:win32', 'create-windows-installer:ia32', 'create-windows-installer:x64', 'copy:bundle-ia32', 'copy:bundle-x64', 'create-windows-installer:bundle-ia32', 'create-windows-installer:bundle-x64'];
break; break;
} }
grunt.initConfig({ grunt.initConfig({
clean: ["build2", "build3", "build3-bundle", "build4-bundle"], clean: ["build2", "build3"],
copy: { copy: {
app: { app: {
expand: true, expand: true,
...@@ -34,13 +34,23 @@ module.exports = (grunt) => { ...@@ -34,13 +34,23 @@ module.exports = (grunt) => {
src: ['node_modules/**', 'bin/**'], src: ['node_modules/**', 'bin/**'],
dest: 'build2' dest: 'build2'
}, },
bundle: { 'bundle-ia32': {
expand: true,
options: {
timestamp: true
},
cwd: 'bundle',
src: '**',
dest: 'build3/mycard-win32-ia32'
},
'bundle-x64': {
expand: true, expand: true,
options: { options: {
timestamp: true timestamp: true
}, },
src: ['build3/**', 'bundle/**'], cwd: 'bundle',
dest: 'build3-bundle' src: '**',
dest: 'build3/mycard-win32-x64'
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment