Create donothing.js

This commit is contained in:
Marquis Kurt 2019-08-05 21:38:20 -04:00
parent c730a509f2
commit 236d7f82ab
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,7 @@
"build-desktop": "npm run build; npm run create-mac-icon; electron-builder -p 'never' -mwl deb AppImage snap",
"build-desktop-win": "electron-builder -p 'never' -w",
"build-desktop-darwin": "npm run create-mac-icon; electron-builder -p 'never' -m",
"build-desktop-darwin-nosign": "npm run create-mac-icon; electron-builder -p 'never' -m dmg -c.mac.identity=null -c.afterSign=\"\"",
"build-desktop-darwin-nosign": "npm run create-mac-icon; electron-builder -p 'never' -m dmg -c.mac.identity=null -c.afterSign=\"desktop/donothing.js\"",
"build-desktop-linux": "electron-builder -p 'never' -l deb AppImage snap",
"build-desktop-linux-select": "electron-builder -p 'never' -l ",
"test": "react-scripts test",

3
src/donothing.js Normal file
View File

@ -0,0 +1,3 @@
exports.default = async function doNothing() {
return await 0;
}