installer

This commit is contained in:
2026-05-15 19:51:35 +03:00
parent 7d762e84c3
commit 1c9dfbc17d
4 changed files with 44 additions and 2 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
build
.tools
.tools
output
+1 -1
View File
@@ -43,7 +43,7 @@ set(SORTLAB_SOURCES
)
if(WIN32)
add_executable(SortLab ${SORTLAB_SOURCES} assets/app.rc)
add_executable(SortLab WIN32 ${SORTLAB_SOURCES} assets/app.rc)
else()
add_executable(SortLab ${SORTLAB_SOURCES})
endif()
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 361 KiB

+41
View File
@@ -0,0 +1,41 @@
#define MyAppName "SortLab"
#define MyAppVersion "1.0.0"
#define MyAppExeName "SortLab.exe"
[Setup]
AppId={{A1D8B5A2-1234-4A3D-9B1F-123456789ABC}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher=kolo
AppPublisherURL=https://коло.tech
AppCopyright=Copyright (C) 2026 kolo
AppSupportURL=https://github.com/koloideal/SortLab
AppUpdatesURL=https://github.com/koloideal/SortLab/releases
AppComments=Симулятор визуализации алгоритмов сортировки на SFML with love by kolo
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=output
OutputBaseFilename=SortLab_Setup
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
[Files]
Source: "build\SortLab.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\libsfml-graphics-2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\libsfml-window-2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\libsfml-system-2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\libsfml-audio-2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "assets\*"; DestDir: "{app}\assets"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "assets\icon.ico"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\SortLab"; Filename: "{app}\SortLab.exe"
Name: "{commondesktop}\SortLab"; Filename: "{app}\SortLab.exe"; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "Создать ярлык на рабочем столе"; GroupDescription: "Дополнительно:"; Flags: unchecked
[Run]
Filename: "{app}\SortLab.exe"; Description: "Запустить SortLab"; Flags: nowait postinstall skipifsilent