From 02c653bc57a999a31c63454f7464033b54d2e4ba Mon Sep 17 00:00:00 2001 From: ItsRiprod Date: Wed, 30 Oct 2024 23:30:22 -0700 Subject: [PATCH] IT WORKS The issue is that the build was being overridden in the package.json and wasnt doing the build.yml for electron --- DeskThingServer/electron-builder.yml | 5 +++++ DeskThingServer/package.json | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/DeskThingServer/electron-builder.yml b/DeskThingServer/electron-builder.yml index 930a8cb4..15043c0b 100644 --- a/DeskThingServer/electron-builder.yml +++ b/DeskThingServer/electron-builder.yml @@ -12,6 +12,11 @@ files: asarUnpack: - resources/** - bin/** + - "!resources/{,/**/}*.{h,hpp,cpp,cc,cxx}" +protocols: + - name: "DeskThing Protocol" + schemes: + - deskthing win: executableName: DeskThing artifactName: ${name}-${os}-${version}-setup.${ext} diff --git a/DeskThingServer/package.json b/DeskThingServer/package.json index 2bd50484..88d1ce6e 100644 --- a/DeskThingServer/package.json +++ b/DeskThingServer/package.json @@ -61,15 +61,5 @@ "typedoc": "^0.26.10", "typescript": "^5.3.3", "vite": "^5.0.12" - }, - "build": { - "protocols": [ - { - "name": "DeskThing Protocol", - "schemes": [ - "deskthing" - ] - } - ] } }