Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron Fiddle - can't change app name #479

Open
iusondemand opened this issue Nov 8, 2024 · 0 comments
Open

Electron Fiddle - can't change app name #479

iusondemand opened this issue Nov 8, 2024 · 0 comments

Comments

@iusondemand
Copy link

  • Version: 33.20
  • Target: windows

I'm a newbie in ElectronJS.
I've found I have to customize package.json
However if I use Fiddle to package the app I get this name: "macabre-cigarette-hurt-so6cs"
I can't find the infos to change the name of the app (not the title of the window) in the .exe.
I noticed other have the same issue in tray bar, where the icon gets "electron" as default.
I also noticed the builder produce and electron.exe that is renamed in such a strange, probably default name "macabre-cigarette-hurt-so6cs"
If i change package.json , fiddler overwrite it. I can't find an option in preferences to change it.
Other suggest to use visual studio code to build.
Any help ?
Thank you, sorry if it is a stupid question.

ps:
this code does not solve my issue (that i think it is related to istructions to send to the compiler):

const appName = 'My App Name';
app.setName(appName);
const appData = app.getPath('appData');
app.setPath('userData', path.join(appData, appName));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant