#Windows tray only appears if i manually add /assets/ to compiled application.

6 messages · Page 1 of 1 (latest)

pine orbit
#

package.json:

{
  "name": "autoimguruploader",
  "version": "1.0.0",
  "description": "",
  "main": "main.mjs",
  "type": "module",
  "scripts": {
    "start": "electron ."
  },
  "build": {
    "productName": "AutoImgurUploader",
    "appId": "com.KR0WLEY.imgurtool",
    "asar": true,
    "compression": "maximum",
    "files": [
      "src/**/*",
      "main.mjs",
      "assets/**/*"
    ],
    "mac": {
      "target": "dmg"
    },
    "win": {
      "target": "zip",
      "icon": "assets/icon.ico"
    },
    "linux": {
      "target": "AppImage",
      "icon": "assets/icon.ico"
    }
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "imgur": "^2.4.2",
    "screenshot-desktop": "^1.15.0"
  },
  "devDependencies": {
    "electron": "^30.0.2",
    "electron-builder": "^24.13.3"
  }
}
#

i have to paste assets to the extracted zip for it to work

#

wait i will do the same as i did with dialog box icon. must work.

pine orbit
#

Ok guys

#

now 'Quit' in context menu doesnt close the application.

#

@help