Lukentui / smotrite-app

MIT License
31 stars 1 forks source link

Path for bin files #1

Open christianpedersen opened 1 month ago

christianpedersen commented 1 month ago

Hi,

First of all, I absolutely love your app!

I had some issues with showing the process list and the CPU temp.

Those two lines in electron/main.js seems to be wrong:

process.execPath.replace("MacOS/Smotrite", "") + "bin/" + "process-list",
process.execPath.replace("MacOS/Smotrite", "") + "bin/" + "cpu-temp",

I fixed it using this instead:

app.getAppPath() + "/bin/process-list",
app.getAppPath() + "/bin/cpu-temp",
Lukentui commented 1 month ago

Hello, Christian! Thanks for your support😄 Gonna take some time to work on this project next week and check your issue.