Conversation
|
I had to use a 3rd party site to upload this, since it's too big for a Github attachment.
|
19a12f0 to
195bb41
Compare
|
2nd build, slightly simplified code: https://limewire.com/d/GpFYg#ovHwwWlKjo @WittyNameHere Please confirm this works for you. If so, I can merge this and close #951. |
lgtm |
|
As part of implementing the requested changes, it looks like I need to programmatically create the internal folder, that all of the files will end up in. One of the options for this operation is the Is this okay, or should I use something else here? From a random calculator I've found, it feels like |
|
The vast majority of distros use 755 for directories and 644 for regular files, so I'd just use that. |
195bb41 to
79a75af
Compare
|
Alright, did so. 3rd test build: https://limewire.com/d/Nsj8X#C4hgQBeMGm |
|
I had an emergency of a personal nature occur, so I won't be able to test anything for a few days to a week. Thanks again for your work on this issue. |
|
Hmm, I see. @guihkx Does it look okay to you now? |
|
It looks fine, but thinking a bit more about it, I feel a bit conflicted about this change because I have Since the feature request specifically mentions an AppImage-specific feature, maybe we can limit this change to the AppImage build? By checking if this env is present: Line 23 in 226cf3f |
|
Hmm, right. I'm a little bit confused now though; can't you set environment variables on a per-process basis? I can't see how would I could limit this to AppImage builds only, yes. But that'd just solve it for the PyInstaller build, and the AppImage build would still be affected. |
Yes, you can, but I don't think that's the issue. At least on my machine, all And that's why it'd be much harder to have two instances of TDM running simultaneously if is implemented not just for the AppImage, because the
All that launch option really does is to create a directory next to the AppImage called portable-appimage.mp4And I think that's the desired outcome, but only for the AppImage. In my opinion, when running TDM from source and/or from the PyInstaller build, config files should be written next to the executable, like on Windows, even if |
|
Or, we could just get rid of the My point is, I vote against writing to Linux config directories by default this late. But you run the show, so feel free to do whatever you want. :P |
|
I want this change to be as frictionless as possible, but also don't want to complicate it too much. I need to think about this for a bit. |
|
While I am not a programmer, my pipx library has given me a good number of Python tools and while this is the only one with a GUI, I don't know why you don't have a flag to select another profile. E.g. One can then just create a script, whether a Linux shells script, PowerShell, or even the ancient .BAT file from DOS, to launch it however many times with however many configurations. Again, yes it's a bit of a power user thing, but you could also have multiple copies of the program with a single profile if you really dislike the Terminal. I realize this is quite off the subject of the original issue, it was just a thought. For what it's worth, I am totally fine with the AppImage build alone using the apec's feature to see a config folder on the same directory and use that |
|
The problem with multi-instance mining is that the miner isn't designed for it. Even running a 2nd instance already violates the websocket connection limits specified by Twitch's dev guidelines. The miner's GQL rate limiter is tuned to work for a single instance too. All of this is IP based, so unless you're running the instances through some kind of IP-altering proxy, you're just going to end up with all kinds of troubles using it. There's no point building "profiles" into this thing, if it's all not going to work anyway. And if someone smarter than me would like to go and study this route, the code is open-source - just please don't try to involve me into it. I'm trying to support your portable AppImage use-case here, not trying to discuss #31 again. Please keep that in mind. As I've said, I want this to work without disrupting the existing setups, and there's a few solutions, so I need to think about it a bit. |
79a75af to
661fb56
Compare
|
Sorry it took so long, I was taken away by IRL events for a moment. I thought about it for a while, and figured out that doing anything with the New link for testing: https://limewire.com/d/fBAui#hfeAfF5Tky |
Closes #951.