Skip to content
Snippets Groups Projects
Commit 2a499353 authored by Dorchies David's avatar Dorchies David
Browse files

MAJ Release v4.5.0 windows app

parent 70fc0dcc
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
"displayName": "Cassiopée",
"description": "Hydraulic calculators",
"author": "Irstea",
"version": "4.4.2",
"version": "4.5.0",
"main": "main.js",
"homepage": "http://cassiopee.g-eau.net",
"license": "MIT",
......@@ -23,7 +23,7 @@
"copy-electron-icon-windows": "copy \"src\\android-chrome-512x512.png\" \"electron\\icon.png\" /Y",
"electron": "npm run update-dist-index-mimetypes && \"node_modules/.bin/electron\" .",
"release-linux": "npm run build && npm run update-dist-index-mimetypes && \"node_modules/.bin/electron-builder\"",
"release-windows": "rd /s /q release && npm run build && npm run update-dist-index-mimetypes && npm run copy-electron-icon-windows && \"node_modules/.bin/electron-builder\"",
"release-windows": "node scripts/clean_release.js && npm run build && npm run update-dist-index-mimetypes && npm run copy-electron-icon-windows && \"node_modules/.bin/electron-builder\"",
"compodoc": "node \"node_modules/@compodoc/compodoc/bin/index-cli.js\" -p src/tsconfig.app.json -s --language fr-FR -d compodoc-fr",
"viz": "tsviz -recursive src/ nghyd_class_diagram.png"
},
......
'use strict';
const fs = require('fs');
const rimraf = require('rimraf');
const path = './release';
if (fs.existsSync(path)) {
rimraf.sync(path);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment