#!/bin/bash -e

source /usr/share/common-install-function-ddebs/common-install-function

domain=lemuseum-by-jff

APP_FULLNAME="Le Museum"
APP_COPYRIGHT="Just For Fun"
APP_DESC="64k intro ranked 4th at Slach 2001"
# party version, for the Gravis UltraSound
APP_EXE="MUSE-GUS.EXE"
APP_SETSOUND="MUSE-GUS.EXE"
# answer "4" (port 240h, gusbase of the conf file) to the GUS port prompt
APP_AUTOTYPE="-w 2 4"
# DOSBox-X mounts a working directory of the user, filled with links to
# /usr/share/lemuseum-by-jff, instead of the installed directory
APP_USERWORKDIR="yes"

# the final version JFF-MUSE.EXE (started with --debug) opens itself in
# read-write mode: a writable copy of JFF-MUSE.EXE.init takes its place
# in the working directory
function prerun()
{
	NSH_InstallRWFileInTmp "JFF-MUSE.EXE" "JFF-MUSE.EXE"
}

function postrun()
{
	:
}

source /usr/share/common-install-function-ddebs/endscript_dos
