Comments (4)
some breadcrumbs to follow:
- winehq packages for ubuntu install wine to
/opt/wine-{$branch}/
- The current appimage for 8.19 does the same, which you can see if you:
- mount the image with
wine-${blahblahblah}.appimage --appimage-mount
- note the mount path in the terminal output
- open another terminal to this path and do
ls ${mount_path}/opt/
, and you will see eitherwine-staging
,wine-devel
, orwine-stable
in that folder
- mount the image with
AppImages also have a command to extract certain files. Maybe this could be used to sniff out the wine branch used without having to mount the AppImage. For example, I've found that it can be discovered inside mscoree.dll:
$ grep -aEo 'wine-[a-z]+' /opt/wine-stable/lib/wine/i386-windows/mscoree.dll
wine-stable
# or, without knowing the full path ahead of time (less useful if you have multiple wine versions installed inside the search folder:
$ find /opt -name mscoree.dll -exec grep -aEo 'wine-[a-z]+' {} \;
wine-stable
wine-stable
# for an AppImage this seems to work (if you don't trust the filename):
$ grep -aEo 'wine-[a-z]+' wine-devel_8.19-x86_64.AppImage
wine-devel
from logoslinuxinstaller.
Searching a DLL might work, as that should be available on all systems if we search the right directory. We would need to pair the wine binary candidate with the dir containing its DLLs and then we should be able to search whatever we want. It might even be faster than waiting on a wine --version
check since we don't need to wait for the heavy wine bin to load.
We might then be able to simplify the whole thing even, as then we could determine the binary's branch with a simple sed or awk.
from logoslinuxinstaller.
from logoslinuxinstaller.
I've started working on this in issue32 branch. It detects but doesn't yet handle AppImages, though.
from logoslinuxinstaller.
Related Issues (20)
- WINE_EXE doesn't get set correctly in Logos_on_Linux.json HOT 13
- Winetricks Quick Action Buttons
- Logos crash with System.AccessViolationException HOT 4
- Can't download Releases list
- Wrong package dependency name for Ubuntu 20.04 HOT 1
- Make Selected AppImage Executable
- Support AppImageLauncher
- Logos PIDs Sometimes Become Zombies
- Implement a Logos Update Routine
- Implement Backup and Restore
- Package Installer Issues
- Config File is Not Properly Read or Updated
- Issue with Dialog Detection Prevents Falling Back to Curses HOT 1
- TUI: Curses: Choose Install Dir, Requires Hitting Enter Twice When Empty
- Change Application Folder Names
- `--install-app` Optarg is Broken
- Fuse3 Is Not Properly Detected on Fedora HOT 1
- Make TUI Fit On Windows Smaller than 23 Lines HOT 1
- Instructions for Installing Python from Source on Debian Are Insufficient
- Add System Log Rotation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logoslinuxinstaller.