mirror of
https://github.com/mandarine3ds/mandarine.git
synced 2024-11-27 00:10:23 +00:00
dist: remove old and not working installer
This commit is contained in:
parent
2332c76934
commit
afb2ad9b84
@ -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)
|
||||
|
31
dist/installer/CMakeLists.txt
vendored
31
dist/installer/CMakeLists.txt
vendored
@ -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})
|
9
dist/installer/README.md
vendored
9
dist/installer/README.md
vendored
@ -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/
|
19
dist/installer/config/config_linux.xml
vendored
19
dist/installer/config/config_linux.xml
vendored
@ -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>
|
18
dist/installer/config/config_mac.xml
vendored
18
dist/installer/config/config_mac.xml
vendored
@ -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>
|
19
dist/installer/config/config_windows.xml
vendored
19
dist/installer/config/config_windows.xml
vendored
@ -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>
|
BIN
dist/installer/config/icon.icns
vendored
BIN
dist/installer/config/icon.icns
vendored
Binary file not shown.
BIN
dist/installer/config/icon.ico
vendored
BIN
dist/installer/config/icon.ico
vendored
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
BIN
dist/installer/config/icon.png
vendored
BIN
dist/installer/config/icon.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue
Block a user