Re: [packman] discord request

2023-12-20 Diskussionsfäden Giacomo Comes
The new modification with the wrapper script has been accepted in OBS. Enjoy Regards, Giacomo On Tue, Dec 19, 2023 at 08:01:37AM -0400, Giacomo Comes wrote: > That should work too. Let me try it and see what comes out. > > Cheers, > Giacomo > > On Tue, Dec 19, 2023 at 11:24:52AM +0100, Dominik He

Re: [packman] discord request

2023-12-19 Diskussionsfäden Dominik Heidler
In python that would be something like this: os.execv("/path/to/discord", ["/path/to/discord"]+sys.argv[1:]) This would replace the running python process with discord and preserve the cli arguments. Am 19.12.23 um 13:01 schrieb Giacomo Comes: That should work too. Let me try it and see what co

Re: [packman] discord request

2023-12-19 Diskussionsfäden Giacomo Comes
That should work too. Let me try it and see what comes out. Cheers, Giacomo On Tue, Dec 19, 2023 at 11:24:52AM +0100, Dominik Heidler wrote: > Hi, > > wouldn't it be sufficient to replace the discord main executable by a wrapper > script > that applies this setting before every start of discord

Re: [packman] discord request

2023-12-19 Diskussionsfäden Dominik Heidler
Hi, wouldn't it be sufficient to replace the discord main executable by a wrapper script that applies this setting before every start of discord and then uses exec to run the actual discord binary? Regards, Dominik Am 19.12.23 um 05:10 schrieb Giacomo Comes: Hi, as you may know, discord has t

[packman] discord request

2023-12-18 Diskussionsfäden Giacomo Comes
Hi, as you may know, discord has the bad habit to disable the start of the program as soon as a new version is available. This feature was quite annoying when discord was releasing updates every few months, but now then the releases happen weekly, it has become intolerable. Few months ago there was