mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
problem with HostHook #448
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bthidev on GitHub (Jan 30, 2020).
I want to use custom-electron-titlebar with electron.net
so I have create an HostHook and i Have add the package :
and I have edit the index.ts with this code :
In ElectronHostHook/node_modules I can see the node module but it doesn't wokr ( nothing append )
but if I manualy edit the package.json from obj/host/package.json for add my module it work,
the problem, when I use electronize start it overwrite my edit,
It's possible to create a custom package.json ?
@bthidev commented on GitHub (Jan 30, 2020):
sorry my script need to be in front htlm not in Host hook, but it's possible to make custom dependance ?
@Melethainiel commented on GitHub (Apr 7, 2021):
Hi @speedi57,
I have the same problem, but I can't find how to do it... Can you explain a bit more please ?
@bthidev commented on GitHub (Apr 7, 2021):
The easiest way I found was to use ElectronNET.CLI from source and modify the package.json of ElectronNET.Host to add the dependencies I needed, I don't know if since my problem another solution was found