I have no luck with this one End up with KINGTV app the logos I change dont even change except for the launcher logo
I have same problemI have everything done but when I launch the app after a couple seconds the app name on top of the window changes back to KINGTV. I've changed name I'm both lines but still shows KINGTV
Haha at least I'm not the only one so budI have same problem
I didn't manage to solve it
i have already write here,edit the first time with Resource Hacker to customize the .exe (http://www.angusj.com/resourcehacker/) kingtv.exe in your name apps.exe ,edit name and log is easy check properly,or check youtube how to use.Haha at least I'm not the only one so bud
i have already write here,edit the first time with Resource Hacker to customize the .exe (http://www.angusj.com/resourcehacker/) kingtv.exe in your name apps.exe ,edit name and log is easy check properly,or check youtube how to use.
but this you follow?Yes I did that bud but when I launch the app it shows the name I changed to for a second or 2 and then changes back to KINGTV
Yes mate done it about 20timesbut this you follow?
13. in Path : resources\app\www
Inside the app.js file
Line 20 label: "NAME", change the Name
Line 44 label: "NAME" change the name
you doing something wrong,i`m sure,Yes mate done it about 20times
look hereYes mate done it about 20times
1. Goto KINGTV/resourcesYes mate done it about 20times
Yes mate. Thank you that has worked. I had to leave the original KINGTV.exe and app folder for the Inno setup compiler to compile my new setup.exe if I deleted them I was getting errors when I tried to install app but once I left them there it worked perfect Thank you1. Goto KINGTV/resources
2. Right click the app folder and open it with your editor ( im using VS)
3. Choose VIEW and click SEARCH
4. Type in KINGTV and your new name in the replace box
5. Replace them by clicking on the box on the far right side
View attachment 6753
1. open Resource Hacker and drag the KINGTV.exe into the window
2. Click Version Info ( 1 : 1033) and edit your info, click on the green Play button
3. Change the Icon too by right click on the name Icon
4. Save as ( new name of your exe file )
(*Reminder, if you added the taskkill code in the /resources/app/www/app.js make sure you have the same name on the .exe file as in the app.js)
Test app, if it works, delete KINGTV.exe and app folder
compile it ( npx asar pack app app.asar )
I think this will sort it for you
View attachment 6754
Managed to fix that. Won't act like a coding whizz though, I had help from ChatGPT 4.
Need to import exec function from child_process module in Node.js
const { exec } = require('child_process');
Then need to add event listener and execute taskkill command upon closing the app:
mainWindow.on('closed', () => { // Terminate the process with the specified name exec('taskkill /IM YourProcessName.exe /F', (error, stdout, stderr) => { if (error) { console.error(`Error executing taskkill: ${error}`); return; } console.log(`Process terminated: ${stdout}`); }); mainWindow = null; });
Replace YourProcessName with the name of your process. The original was KINGTV.exe.
I've attached the updated /resources/app/www/app.js as a text file (wouldn't let me to upload .js file), keeping original "KINGTV" name for easy find/replace.
He say everything in the postHey mate. Can I ask exactly how do i complete first part that you mentioned?
Need to import exec function from child_process module in Node.js
const { exec } = require('child_process');
Create a folder name npm in c:\users\andre\appdata\Roaming\i getting this error after run :how to fix?Code:npx asar extract app.asar app
View attachment 6821
Probably doesn't help too much as its from the top of my head, but more recently (from what I read) nodeJS doesn't install npm or plugins to AppData.. installs them to Program Files instead.i getting this error after run :how to fix?Code:npx asar extract app.asar app
View attachment 6821
It has no DNS limit, I have a functional panelHow many dns supports I test with 3 and not works.