Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Support for WINE? #37

Closed
gunalabs opened this issue Jan 17, 2021 · 11 comments
Closed

Support for WINE? #37

gunalabs opened this issue Jan 17, 2021 · 11 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@gunalabs
Copy link

gunalabs commented Jan 17, 2021

Hi. In linux I tried this using Wine For versions of Telegram Desktop 2.4.0 2.4.3, 2.4.4 and 2.5.1 (Windows 10 32 Bit)
But the Anti-Revoking doesn't seems to be working.
When I tried deleting it got deleted.
Any Ideas?
PS; I tried with the Latest release of Telegram-Anti-Revoke

@SpriteOvO
Copy link
Owner

SpriteOvO commented Jan 17, 2021

Could you check if ArLog.txt is created in the Telegram directory? If so, please post the content.

@gunalabs
Copy link
Author

gunalabs commented Jan 17, 2021

Nope. It only has log.txt
image
Should I send its contents?

@SpriteOvO
Copy link
Owner

SpriteOvO commented Jan 17, 2021

Should I send its contents?

No, its Telegram's log file, not the plugin.

It looks like the problem is that wine doesn't preferentially loading the "fake" Windows system dll version.dll in the current directory to make the plugin inject into Telegram. I will try to find a solution later.

@gunalabs
Copy link
Author

Should I send its contents?

No, its Telegram's log file, not the plugin.

The problem is that wine doesn't preferentially loading the "fake" system dll version.dll in the current directory to make the plugin inject into Telegram. I will try to find a solution later.

Sure. Thanks for your time :)

@SpriteOvO SpriteOvO added under investigation This issue is under investigation question Further information is requested help wanted Extra attention is needed labels Jan 17, 2021
@SpriteOvO
Copy link
Owner

SpriteOvO commented Jan 17, 2021

The plugin does have a way to work in wine, but it needs some patches.

I will consider and try to make the plugin directly compatible with Linux in the future, and if you need the patched plugin file for wine now, I will send it in this issue.

@SpriteOvO SpriteOvO removed the under investigation This issue is under investigation label Jan 17, 2021
@gunalabs
Copy link
Author

Cool! Waiting for Linux plugin.

And Yeah It would be much helpful if I get the patch here.

@SpriteOvO
Copy link
Owner

SpriteOvO commented Jan 18, 2021

TelegramAntiRevoke-3.0.0(Wine).zip

The patched plugin will be maintained in the wine branch of this repository.

After copying the version.dll file to the Telegram path, run the wine with this command:
WINEDLLOVERRIDES="version=n,b" wine Telegram.exe

@SpriteOvO
Copy link
Owner

@gunahub Let me know if it works or not please.

@gunalabs
Copy link
Author

gunalabs commented Jan 19, 2021

It works like a charm!
The deleted tag appears only when I click that name again but thats not a big issue at all.
Thanks for your great product!
image

@SpriteOvO
Copy link
Owner

SpriteOvO commented Jan 19, 2021

The deleted tag appears only when I click that name again

Yes, currently the tag will only be updated to show when Telegram window gains focus, and this issue will be improved in the future, but it is a low priority.

I will close this issue and create a new one about the progress of the plugin support for Linux.

@SpriteOvO SpriteOvO added enhancement New feature or request and removed help wanted Extra attention is needed labels Jan 19, 2021
@SpriteOvO
Copy link
Owner

Tracking issue for Linux support: #39

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants