Skip to content

Instantly share code, notes, and snippets.

View mikolajwojcicki's full-sized avatar

Mikołaj Wójcicki mikolajwojcicki

View GitHub Profile

WARNING THIS WAS AI GENERATED:

Okay, let's break down how to manually replicate the core functionality of WinApps for a single application (Foxit PDF Reader) running in a Windows 10 KVM VM, accessible via a Linux desktop shortcut. This will be a "minimal" setup, focusing just on launching the app.

Core Concepts:

  1. KVM Virtual Machine: Hosts the Windows 10 OS and the application.
  2. Windows RDP Server: Built into Windows Pro/Enterprise/Server, needs to be enabled.
  3. RemoteApp (RAIL): The RDP feature that allows launching a single application instead of the full desktop. Windows 10 Pro/Enterprise can do this but requires a registry tweak to allow arbitrary applications (like WinApps does).
  4. FreeRDP Client: The Linux tool used to connect to the Windows RDP server and launch the RemoteApp.
@mikolajwojcicki
mikolajwojcicki / main.md
Last active February 27, 2024 13:44
Extracting apple .pkg files on Linux

In order to extract such a package following software is requried:

  • 7zip for general .pkg

  • pbzx for Payload files Github Source

    • xar Github Source
      • fix
      • download optional dependency libbzip2 / bzip2 and enable it in xar compilation configuration. This enables use or xar for extracting .pkg
    • compile with gcc pbzx.c -o pbzx -llzma -lxar