dist: remove old and not working installer

This commit is contained in:
Gamer64 2024-09-22 14:07:02 +02:00
parent 2332c76934
commit afb2ad9b84
9 changed files with 0 additions and 98 deletions

View File

@ -420,8 +420,6 @@ if (USE_SYSTEM_SOUNDTOUCH)
endif()
add_subdirectory(src)
add_subdirectory(dist/installer)
# Set mandarine-qt project or mandarine project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
if (ENABLE_QT)

View File

@ -1,31 +0,0 @@
if(WIN32)
set(PLATFORM "windows")
elseif(APPLE)
set(PLATFORM "mac")
elseif(UNIX)
set(PLATFORM "linux")
else()
message(FATAL_ERROR "Cannot build installer for this unsupported platform")
endif()
set(BUILD_DIR "${CMAKE_BINARY_DIR}/installer")
set(DIST_DIR "${BUILD_DIR}/dist")
set(TARGET_FILE "${DIST_DIR}/mandarine-setup-${PLATFORM}")
file(MAKE_DIRECTORY "${BUILD_DIR}" "${DIST_DIR}")
# Adds a custom target that will run the BuildInstaller.cmake file
# CMake can't just run a cmake function as a custom command, so this is a way around it.
# Calls the cmake command and runs a cmake file in "scripting" mode passing in variables with -D
add_custom_command(OUTPUT "${TARGET_FILE}"
COMMAND ${CMAKE_COMMAND}
-DBASE_DIR=${CMAKE_SOURCE_DIR}
-DSRC_DIR=${CMAKE_CURRENT_SOURCE_DIR}
-DBUILD_DIR=${BUILD_DIR}
-DTARGET_FILE=${TARGET_FILE}
-P ${CMAKE_SOURCE_DIR}/CMakeModules/BuildInstaller.cmake
WORKING_DIRECTORY ${BUILD_DIR}
)
add_custom_target(installer DEPENDS ${TARGET_FILE})

View File

@ -1,9 +0,0 @@
Mandarine Qt Installer
==================
This contains the configuration files for building Mandarine's installer.
Installers can only be built on the platform that they are targeting.
Build the `installer` target to generate the installer, and the installer will be in
${build_dir}/installer/dist/

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Mandarine</Name>
<Version>1.0.0</Version>
<Title>Mandarine Updater</Title>
<Publisher>Mandarine Team</Publisher>
<!-- e.g. /home/<user>/.mandarine or /opt/mandarine if run as root -->
<TargetDir>@HomeDir@/.mandarine</TargetDir>
<AdminTargetDir>/opt/mandarine</AdminTargetDir>
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
<RemoteRepositories>
<Repository>
<Url>https://repo.citra-emu.org</Url>
<Enabled>1</Enabled>
<DisplayName>Official Mandarine Repository</DisplayName>
</Repository>
</RemoteRepositories>
</Installer>

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Mandarine</Name>
<Version>1.0.0</Version>
<Title>Mandarine Updater</Title>
<Publisher>Mandarine Team</Publisher>
<!-- e.g. /Applications/Mandarine -->
<TargetDir>@ApplicationsDir@/Mandarine</TargetDir>
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
<RemoteRepositories>
<Repository>
<Url>https://repo.citra-emu.org</Url>
<Enabled>1</Enabled>
<DisplayName>Official Mandarine Repository</DisplayName>
</Repository>
</RemoteRepositories>
</Installer>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Mandarine</Name>
<Version>1.0.0</Version>
<Title>Mandarine Updater</Title>
<Publisher>Mandarine Team</Publisher>
<StartMenuDir>Mandarine</StartMenuDir>
<!-- e.g. C:\home\<user>\AppData\Local\Mandarine -->
<TargetDir>@HomeDir@/AppData/Local/Mandarine</TargetDir>
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
<RemoteRepositories>
<Repository>
<Url>https://repo.citra-emu.org</Url>
<Enabled>1</Enabled>
<DisplayName>Official Mandarine Repository</DisplayName>
</Repository>
</RemoteRepositories>
</Installer>

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB