Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

default Electron icon is used reason=application icon is not set

//Create a folder named build in the same directory of package.json
//place your icon inside (it has to be named icon)

//in the package.json (variuos options are examples, not mandatory):
"build": {
    "appId": "com.SUPPLIER.APP_NAME",
    "mac": {
      "category": "public.app-category.utilities",
      "target": "dmg"
    },
    "extraResources": [
      "res",
      "favicon.png"
    ],
    "directories": {
      "buildResources": "build", //<-- this is important
      "output": "output"
    }
  },
Comment

PREVIOUS NEXT
Code Example
Javascript :: mongodb find all that dont have property 
Javascript :: user input in js 
Javascript :: jquery display text in div 
Javascript :: usereducer example 
Javascript :: How to add Strings as numbers in JavaScript 
Javascript :: leaflet circle get bounds 
Javascript :: select selected option value jquery 
Javascript :: react native red triangle up 
Javascript :: assign array to another array javascript 
Javascript :: what is status 400 in react 
Javascript :: split array into chunks javascript 
Javascript :: Using Regular Expressions (regex) to Print JavaScript Number Format with Commas 
Javascript :: node js response header 
Javascript :: search datatable vuetify 
Javascript :: reactjs node sass incompatible with ^4.0.0 ^5.0.0 
Javascript :: modulo operator in javascript 
Javascript :: create an element jquery 
Javascript :: change focus to next field jquery after enter 
Javascript :: getfullyear javascript 
Javascript :: json_insert mysql 
Javascript :: foreach index 
Javascript :: jquery copy table to clipboard 
Javascript :: AsyncStorage.getItem undefined is not an object 
Javascript :: vuejs vscode unbound breakpoint 
Javascript :: how to loop through something in node.js 
Javascript :: what is polyfills in angular 
Javascript :: regex email 
Javascript :: How to get the background image URL of an element using jQuery 
Javascript :: array asociativo multidimensional javascript 
Javascript :: A simple static file server built with Node.js 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =