summarylogtreecommitdiffstats
path: root/resource-hacker
blob: 9a54a9adea3c8ca8965de8962ea7dee56a38c9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

export WINEARCH=win32 WINEPREFIX="$HOME/.resource-hacker/wine"

if [ ! -d "$HOME/.resource-hacker" ]; then
    # create the directory for the wine prefix
    mkdir -p "$HOME/.resource-hacker/wine" || exit 1

    # make a symlink to the executable
    ln -s /usr/share/resource-hacker/ResourceHacker.exe "$HOME/.resource-hacker/resource-hacker" || exit 1
fi

WINEDEBUG=-all wine "$HOME/.resource-hacker/resource-hacker" "$@"