electron-userland / electron-userland/electron-webpack

Electron Fiddle - can't change app name

Open
#479 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

* **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));

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.