Skip to content
Discussion options

You must be logged in to vote

I found a solution! You can use the following script to take care of building a DLL list to be copied. Run this script in the MSYS2 ucrt terminal.

#!/bin/bash

# Configuration
BASE_URL="https://raw.githubusercontent.com/gircore/gir-files/main/windows"
UCRT_BIN="/ucrt64/bin"
START_GIRS=("Gtk-4.0" "Gio-2.0")

# State tracking
processed_girs=()
discovered_dlls=()

function is_processed() {
    local e match="$1"
    for e in "${processed_girs[@]}"; do [[ "$e" == "$match" ]] && return 0; done
    return 1
}

function extract_dependencies() {
    local gir_name="$1"
    if is_processed "$gir_name"; then return; fi
    processed_girs+=("$gir_name")

    echo "--> Analyzing GIR: $gir_name..." >&2

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@PlatinumLucario
Comment options

@badcel
Comment options

@PlatinumLucario
Comment options

@badcel
Comment options

@PlatinumLucario
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@KyodaiKen
Comment options

Answer selected by PlatinumLucario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants