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

Dynamic Application name #98

Open
katoquro opened this issue Jul 11, 2024 · 8 comments
Open

Dynamic Application name #98

katoquro opened this issue Jul 11, 2024 · 8 comments

Comments

@katoquro
Copy link

Hello! My issue is quite similar to #3 but for an Application name
Currently, all run windows have an application name - Chromium. My system uses the Application name to redirect the audio to sink and it works perfectly. However, I also use Chromium browser so all my tabs still contribute to that sink 😅

Is it possible to change this name with run param or so?
Thank you in advance

@steveseguin
Copy link
Owner

You can try using the title command line argument, as noted below, however I'm not 100% sure this will solve your issue.

Let me know though if not

  .option("t", {
    alias: "title",
    describe: "The default Title for the app Window",
    type: "string",
	default: null
  })

@katoquro

@katoquro
Copy link
Author

katoquro commented Jul 11, 2024

@steveseguin, thank you for your reply!
I already use it but it installs Window Title and not Application Name. The application still has Chromium.
It is similar to #3 but different 😁

@steveseguin
Copy link
Owner

https://github.com/steveseguin/electroncapture/releases/tag/2.18.x

Let me know if this trial build works for you. Windows.

If you dont want windows, what operating system?

@katoquro
Copy link
Author

I've build ElectronCapture-2.18.4-x86_64.AppImage for linux and it is still detected as Chromium.
If it's hard to implement I already have a workaround: I can use Firefox as my browser during scream and leave Chromium only for ElectronCapture. Thanks for your effort!
image

@steveseguin
Copy link
Owner

This is the change I made yesterday,

if (Argv.title){

As that doesn't work, the issue might be more related to electron.js, and how it unbundles the app into chromium and other components for use on Linux. This isn't the case with Windows from what I see.

If you can find a solution online, as this would be an issue with Electron.js in general for other apps as well, I'd be happy to patch things. Perhaps when bundling the app I can rename chromium.exe to something else, but who knows what that might break.

@katoquro
Copy link
Author

As it could be an Electron issue I found this one electron/electron#7470.

p.s. I'm pretty sure that isn't just binary name so rename shouldn't help

@steveseguin
Copy link
Owner

Thank you for finding that. It links to this issue, electron/electron#27581, which is Open and seems to be what you are referring to.

image

Not sure if I can reasonably do much to address this issue myself in the near future, other than poke the currently open issue also.

@katoquro
Copy link
Author

Yeah 😄
Thanks. At least we will have this thread for those who are also facing such problem.

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

2 participants