Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Tales of Androgyny

A game about birds, bees, flowers and trees. · By Majalis

Executable file for linux

A topic by xdub created Feb 16, 2021 Views: 444
Viewing posts 1 to 1
(2 edits)

Please replace the executable file with this script for the next release for linux. It saves a lot of trouble.

#!/bin/bash
ARCH=$(arch)
JAVAAMD64=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
JAVAI386=/usr/lib/jvm/java-8-openjdk-i386/jre/bin/java
if [ "$ARCH" = "x86_64" ]; then
    if test -f "$JAVAAMD64"; then
            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar ./TalesOfAndrogyny.jar
        else
            notify-send "Please install the openjdk-8-jdk package."
    fi
fi
if [ "$ARCH" = "i386" ]; then
    if test -f "$JAVAI386"; then
            /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java -jar ./TalesOfAndrogyny.jar
        else
            notify-send "Please install the openjdk-8-jdk package."
    fi
fi