mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
Removed the launching scripts for ports that were relying an x11 + window manager by using the new XINIT-WM: prefix added to runcommand.
33 lines
933 B
Bash
33 lines
933 B
Bash
#!/usr/bin/env bash
|
|
|
|
# This file is part of The RetroPie Project
|
|
#
|
|
# The RetroPie Project is the legal property of its developers, whose names are
|
|
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
|
|
#
|
|
# See the LICENSE.md file at the top-level directory of this distribution and
|
|
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
|
|
#
|
|
|
|
rp_module_id="minecraft"
|
|
rp_module_desc="Minecraft - Pi Edition"
|
|
rp_module_licence="PROP"
|
|
rp_module_section="exp"
|
|
rp_module_flags="!all videocore"
|
|
|
|
function depends_minecraft() {
|
|
getDepends xorg matchbox-window-manager
|
|
}
|
|
|
|
function install_bin_minecraft() {
|
|
[[ -f "$md_inst/minecraft-pi" ]] && rm -rf "$md_inst/"*
|
|
aptInstall minecraft-pi
|
|
}
|
|
|
|
function remove_minecraft() {
|
|
aptRemove minecraft-pi
|
|
}
|
|
|
|
function configure_minecraft() {
|
|
addPort "$md_id" "minecraft" "Minecraft" "XINIT-WM:/usr/bin/minecraft-pi"
|
|
}
|