Thermionix
Thermionix
another way to find AdskIdentityManager.exe ```` IDENTITY_EXE="$(find "${WINEPREFIX}" -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" cat > $HOME/.local/share/applications/adskidmgr-opener.desktop
well, this works for me; but I'm not running it within a prefix ```` [Desktop Entry] Type=Application Name=adskidmgr Scheme Handler Exec=sh -c 'wine "$(find ~/.wine/ -name "AdskIdentityManager.exe" | head -1...
to do that within the script, escape the subshell so it prints; ```` #!/bin/bash WINEPREFIX="~/.wine" cat > $HOME/.local/share/applications/adskidmgr-opener.desktop
debug level output from installer: ```` 2024-04-20 16:44:48,172 - MainProcess(876) - ThreadPoolExecutor-1_0 - adsk.dls.streamer.manifests - DEBUG :: Executing callback on reference to \\?\C:\Program Files\Autodesk\webdeploy\production\6a0c9611291d45bb9226980209917c3d\FusionLauncher.exe 2024-04-20 16:44:48,172 - MainProcess(876) - ThreadPoolExecutor-1_0...
and debug output from successful windows install (showing next actions) ```` 2024-04-21 09:08:28,323 - MainProcess(4784) - ThreadPoolExecutor-1_0 - adsk.dls.streamer.windows.platform - INFO :: original launch icon: C:\Program Files\Autodesk\webdeploy\production\6a0c9611291d45bb9226980209917c3d\Fusion360.ico Fusion360.ico 2024-04-21 09:08:28,323...
Considering the next call that seems to be failing; ```` adsk.dls.streamer.windows.platform - INFO :: Trying to rename previous Fusion 360 shortcut if it exists for rebranding live update: from C:\Users\Test\AppData\Roaming\Microsoft\Internet...
And I'm failing to decompile the streamer platform.pyc ```` $ cd /home/thermionix/snap/fusion360/common/.wine/drive_c/Program Files/Autodesk/webdeploy/meta/streamer/20240201094011/lib/adsk/dls/streamer/windows/ $ file platform.pyc platform.pyc: Byte-compiled Python module for CPython 3.11 $ pycdc -o p.py platform.pyc Unsupported opcode:...
So after having a read through: https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath https://learn.microsoft.com/lv-lv/windows/win32/shell/knownfolderid https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/shell/working-with-known-folders.md Wine does implement `SHGetKnownFolderPath(REFKNOWNFOLDERID rfid, DWORD flags, HANDLE token, WCHAR **ret_path)` https://github.com/wine-mirror/wine/blob/master/dlls/shell32/shellpath.c#L3526 https://github.com/wine-mirror/wine/blob/master/include/knownfolders.h https://source.winehq.org/WineAPI/SHGetFolderPathW.html I've then tried setting reg keys for...
wine trace output: ```` $ cat reace.txt | grep GetKnown 15239.186:057c:05c0:Call KERNEL32.GetProcAddress(6ffffc5c0000,029a5be0 "SHGetKnownFolderPath") ret=6ffff9791d76 15239.186:057c:05c0:Call shell32.SHGetKnownFolderPath(0410ede0,00000000,00000000,03fb0c98) ret=6ffff9774771 15239.186:057c:05c0:trace:shell:SHGetKnownFolderPath {c4aa340d-f20f-4863-afef-f87ef2e6ba25}, 0x00000000, 0000000000000000, 0000000003FB0C98 15239.200:057c:05c0:trace:shell:SHGetKnownFolderPath Final path is L"C:\\users\\Public\\Desktop", 0 15239.200:057c:05c0:Ret shell32.SHGetKnownFolderPath()...
registry dump from wine: ```` [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9E3995AB-1F9C-4F13-B827-48B24B6C7174}] "Attributes"=dword:00000002 "Category"=dword:00000004 "Name"="User Pinned" "ParentFolder"="{52A4F021-7B75-48A9-9F6B-4B87A210BC8F}" "RelativePath"="User Pinned" ```` windows ```` [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9e3995ab-1f9c-4f13-b827-48b24b6c7174}] "Attributes"=dword:00000002 "Category"=dword:00000004 "Name"="User Pinned" "ParentFolder"="{52a4f021-7b75-48a9-9f6b-4b87a210bc8f}" "PreCreate"=dword:00000001 "RelativePath"="User Pinned" ```` I grepped trace output...