From 6cfadfc4b6eb844c68c7d10752247e56ae1b6873 Mon Sep 17 00:00:00 2001 From: galeon Date: Mon, 1 Sep 2025 08:14:34 +0000 Subject: [PATCH 01/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20CppProperties.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CppProperties.json | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 CppProperties.json diff --git a/CppProperties.json b/CppProperties.json deleted file mode 100644 index 659bf4e..0000000 --- a/CppProperties.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "configurations": [ - { - "inheritEnvironments": [ - "msvc_x86" - ], - "name": "x86-Debug", - "includePath": [ - "${env.INCLUDE}", - "${workspaceRoot}\\**" - ], - "defines": [ - "WIN32", - "_DEBUG", - "UNICODE", - "_UNICODE" - ], - "intelliSenseMode": "windows-msvc-x86" - } - ] -} \ No newline at end of file From 4c0c566ff95d0b261c1e331927502a0d2615e1c6 Mon Sep 17 00:00:00 2001 From: galeon Date: Mon, 1 Sep 2025 08:15:01 +0000 Subject: [PATCH 02/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20LauncherWindow.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LauncherWindow.cpp | 114 --------------------------------------------- 1 file changed, 114 deletions(-) delete mode 100644 LauncherWindow.cpp diff --git a/LauncherWindow.cpp b/LauncherWindow.cpp deleted file mode 100644 index f195140..0000000 --- a/LauncherWindow.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include "LauncherWindow.h" -#include -#include -#include -#include -#include -#include -#include - -LauncherWindow::LauncherWindow(QWidget *parent) - : QMainWindow(parent) -{ - setupUI(); - networkManager = new QNetworkAccessManager(this); - connect(networkManager, &QNetworkAccessManager::finished, this, &LauncherWindow::onDownloadFinished); -} - -LauncherWindow::~LauncherWindow() -{ -} - -void LauncherWindow::setupUI() -{ - QWidget *centralWidget = new QWidget(this); - setCentralWidget(centralWidget); - - QVBoxLayout *layout = new QVBoxLayout(centralWidget); - - usernameLineEdit = new QLineEdit(this); - usernameLineEdit->setPlaceholderText("Введите ваш никнейм"); - layout->addWidget(usernameLineEdit); - - launchButton = new QPushButton("Запустить Minecraft", this); - connect(launchButton, &QPushButton::clicked, this, &LauncherWindow::launchMinecraft); - layout->addWidget(launchButton); - - modsFolderButton = new QPushButton("Открыть папку с модами", this); - connect(modsFolderButton, &QPushButton::clicked, this, &LauncherWindow::openModsFolder); - layout->addWidget(modsFolderButton); - - downloadModsButton = new QPushButton("Загрузить моды с GitHub", this); - connect(downloadModsButton, &QPushButton::clicked, this, &LauncherWindow::downloadMods); - layout->addWidget(downloadModsButton); - - setWindowTitle("Minecraft Launcher"); - resize(300, 200); -} - -QString LauncherWindow::getMinecraftPath() -{ -#ifdef Q_OS_WIN - return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/.minecraft"; -#elif defined(Q_OS_MAC) - return QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Library/Application Support/minecraft"; -#else - return QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/.minecraft"; -#endif -} - -void LauncherWindow::launchMinecraft() -{ - QString username = usernameLineEdit->text(); - if (username.isEmpty()) { - QMessageBox::warning(this, "Ошибка", "Пожалуйста, введите никнейм."); - return; - } - - // Это упрощенная команда запуска. Для современных версий Minecraft - // может потребоваться более сложная команда с указанием версии, - // аутентификацией и путями к библиотекам. - // Здесь мы используем гипотетическую команду для демонстрации. - QString command = "java -jar \"" + getMinecraftPath() + "/versions/1.19.2/1.19.2.jar\" --username " + username; - - QProcess *process = new QProcess(this); - process->startDetached(command); -} - -void LauncherWindow::openModsFolder() -{ - QString modsPath = getMinecraftPath() + "/mods"; - QDir modsDir(modsPath); - if (!modsDir.exists()) { - modsDir.mkpath("."); - } - QDesktopServices::openUrl(QUrl::fromLocalFile(modsPath)); -} - -void LauncherWindow::downloadMods() -{ - // URL для загрузки ZIP-архива с модами из репозитория GitHub - // Замените на URL вашего репозитория - QUrl url("https://github.com/user/repo/archive/refs/heads/main.zip"); - QNetworkRequest request(url); - networkManager->get(request); -} - -void LauncherWindow::onDownloadFinished(QNetworkReply *reply) -{ - if (reply->error()) { - QMessageBox::critical(this, "Ошибка загрузки", "Не удалось загрузить моды: " + reply->errorString()); - return; - } - - QFile *file = new QFile(getMinecraftPath() + "/mods/mods.zip"); - if (file->open(QIODevice::WriteOnly)) { - file->write(reply->readAll()); - file->close(); - QMessageBox::information(this, "Загрузка завершена", "Моды успешно загружены в папку mods. Распакуйте архив."); - } else { - QMessageBox::critical(this, "Ошибка", "Не удалось сохранить архив с модами."); - } - delete file; - reply->deleteLater(); -} \ No newline at end of file From 4b2026e96b889c80df5a685c610403b4e00e386a Mon Sep 17 00:00:00 2001 From: galeon Date: Mon, 1 Sep 2025 08:15:06 +0000 Subject: [PATCH 03/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20LauncherWindow.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LauncherWindow.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 LauncherWindow.h diff --git a/LauncherWindow.h b/LauncherWindow.h deleted file mode 100644 index a0cd26b..0000000 --- a/LauncherWindow.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef LAUNCHERWINDOW_H -#define LAUNCHERWINDOW_H - -#include -#include -#include -#include -#include -#include - -class LauncherWindow : public QMainWindow -{ - Q_OBJECT - -public: - LauncherWindow(QWidget *parent = nullptr); - ~LauncherWindow(); - -private slots: - void launchMinecraft(); - void openModsFolder(); - void downloadMods(); - void onDownloadFinished(QNetworkReply *reply); - -private: - void setupUI(); - QString getMinecraftPath(); - - QPushButton *launchButton; - QPushButton *modsFolderButton; - QPushButton *downloadModsButton; - QLineEdit *usernameLineEdit; - - QNetworkAccessManager *networkManager; -}; - -#endif // LAUNCHERWINDOW_H \ No newline at end of file From 52ef710cd7db742ec1a493023899e41d8b1b1c80 Mon Sep 17 00:00:00 2001 From: galeon Date: Mon, 1 Sep 2025 08:15:11 +0000 Subject: [PATCH 04/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20main.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 main.cpp diff --git a/main.cpp b/main.cpp deleted file mode 100644 index d7a2d6a..0000000 --- a/main.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "LauncherWindow.h" -#include - -int main(int argc, char *argv[]) -{ - QApplication a(argc, argv); - LauncherWindow w; - w.show(); - return a.exec(); -} \ No newline at end of file From 0ebf7e07a7b0feb7fc21eba6175d29a507b5c6f4 Mon Sep 17 00:00:00 2001 From: galeon Date: Thu, 4 Sep 2025 12:41:52 +0000 Subject: [PATCH 05/10] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5368561..fc76f50 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # minecraft-launcher -Первая итерация самописного лаунчера для запуска сборок Minecraft \ No newline at end of file +Первая итерация самописного лаунчера для запуска сборок Minecraft + From d760bc2f83efda66a832fae6318303a7babb138d Mon Sep 17 00:00:00 2001 From: UtkaG Date: Tue, 4 Nov 2025 15:47:41 +0000 Subject: [PATCH 06/10] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20?= =?UTF-8?q?=C2=ABUi-TEMP=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ui-TEMP/MinecraftUI.qml | 177 +++++++++++++++++++++++++++++++++++++ Ui-TEMP/MinecraftUI.ui.qml | 177 +++++++++++++++++++++++++++++++++++++ 2 files changed, 354 insertions(+) create mode 100644 Ui-TEMP/MinecraftUI.qml create mode 100644 Ui-TEMP/MinecraftUI.ui.qml diff --git a/Ui-TEMP/MinecraftUI.qml b/Ui-TEMP/MinecraftUI.qml new file mode 100644 index 0000000..3cdb676 --- /dev/null +++ b/Ui-TEMP/MinecraftUI.qml @@ -0,0 +1,177 @@ + + +/* +This is a UI file (.ui.qml) that is intended to be edited in Qt Design Studio only. +It is supposed to be strictly declarative and only uses a subset of QML. If you edit +this file manually, you might introduce QML code that is not supported by Qt Design Studio. +Check out https://doc.qt.io/qtcreator/creator-quick-ui-forms.html for details on .ui.qml files. +*/ +import QtQuick +import QtQuick.Controls +import UntitledProject1 + +Rectangle { + id: rectangle + width: Constants.width + height: Constants.height + color: "#2e2e2e" + radius: 0 + border.color: "#1a1a1a" + + Image { + id: kishkaProfileIdle + x: 40 + y: 239 + source: "Profile Box/Kishka Profile Idle.svg" + fillMode: Image.PreserveAspectFit + } + + Image { + id: kishkaVerIdle + x: 165 + y: 239 + source: "Version box/Kishka Ver idle.svg" + fillMode: Image.PreserveAspectFit + } + + Button { + id: folderbutt + x: 130 + y: 304 + width: 70 + height: 40 + visible: true + text: qsTr("Button") + topPadding: 0 + rightPadding: 0 + leftPadding: 0 + icon.width: 335 + icon.source: "Folder/Folder Idle.svg" + icon.height: 170 + icon.color: "#0026282a" + flat: true + display: AbstractButton.IconOnly + bottomPadding: 0 + } + + Button { + id: playbutt + x: 40 + y: 57 + width: 335 + height: 170 + visible: true + text: qsTr("Button") + icon.cache: false + rightPadding: 0 + bottomPadding: 0 + leftPadding: 0 + topPadding: 0 + flat: true + icon.height: 170 + icon.width: 335 + display: AbstractButton.IconOnly + icon.color: "#0026282a" + icon.source: "Play Button/Play Idle.svg" + } + + Button { + id: optionsbut + x: 215 + y: 304 + width: 70 + height: 40 + visible: true + text: qsTr("Button") + topPadding: 0 + rightPadding: 0 + leftPadding: 0 + icon.width: 335 + icon.source: "Options/Options Idle.svg" + icon.height: 170 + icon.color: "#0026282a" + icon.cache: false + flat: true + display: AbstractButton.IconOnly + bottomPadding: 0 + } + + states: [ + State { + name: "clicked" + when: playbutt.pressed + + PropertyChanges { + target: playbutt + x: 40 + y: 55 + rightPadding: 0 + bottomPadding: 0 + leftPadding: 0 + topPadding: 0 + icon.source: "Play Button/Play pressed.svg" + } + }, + + State { + name: "Hover" + when: playbutt.hovered + + PropertyChanges { + target: playbutt + flat: true + icon.source: "Play Button/Play Active.svg" + } + }, + State { + name: "Folder Pressed" + when: folderbutt.pressed + + PropertyChanges { + target: folderbutt + icon.source: "Folder/Folder Pressed.svg" + icon.height: 170 + icon.width: 335 + icon.color: "#0026282a" + } + }, + + State { + name: "Folder Hover" + when: folderbutt.hovered + + PropertyChanges { + target: rectangle + color: "#2e2e2e" + } + + PropertyChanges { + target: folderbutt + x: 130 + y: 304 + icon.height: 170 + icon.width: 335 + icon.color: "#0026282a" + icon.source: "Folder/Folder Active.svg" + } + }, + State { + name: "Option Pressed" + when: optionsbut.pressed + + PropertyChanges { + target: optionsbut + icon.source: "Options/Options active.svg" + } + }, + State { + name: "OptionHover" + when: optionsbut.hovered + + PropertyChanges { + target: optionsbut + icon.source: "Options/Options Pressed.svg" + } + } + ] +} diff --git a/Ui-TEMP/MinecraftUI.ui.qml b/Ui-TEMP/MinecraftUI.ui.qml new file mode 100644 index 0000000..3cdb676 --- /dev/null +++ b/Ui-TEMP/MinecraftUI.ui.qml @@ -0,0 +1,177 @@ + + +/* +This is a UI file (.ui.qml) that is intended to be edited in Qt Design Studio only. +It is supposed to be strictly declarative and only uses a subset of QML. If you edit +this file manually, you might introduce QML code that is not supported by Qt Design Studio. +Check out https://doc.qt.io/qtcreator/creator-quick-ui-forms.html for details on .ui.qml files. +*/ +import QtQuick +import QtQuick.Controls +import UntitledProject1 + +Rectangle { + id: rectangle + width: Constants.width + height: Constants.height + color: "#2e2e2e" + radius: 0 + border.color: "#1a1a1a" + + Image { + id: kishkaProfileIdle + x: 40 + y: 239 + source: "Profile Box/Kishka Profile Idle.svg" + fillMode: Image.PreserveAspectFit + } + + Image { + id: kishkaVerIdle + x: 165 + y: 239 + source: "Version box/Kishka Ver idle.svg" + fillMode: Image.PreserveAspectFit + } + + Button { + id: folderbutt + x: 130 + y: 304 + width: 70 + height: 40 + visible: true + text: qsTr("Button") + topPadding: 0 + rightPadding: 0 + leftPadding: 0 + icon.width: 335 + icon.source: "Folder/Folder Idle.svg" + icon.height: 170 + icon.color: "#0026282a" + flat: true + display: AbstractButton.IconOnly + bottomPadding: 0 + } + + Button { + id: playbutt + x: 40 + y: 57 + width: 335 + height: 170 + visible: true + text: qsTr("Button") + icon.cache: false + rightPadding: 0 + bottomPadding: 0 + leftPadding: 0 + topPadding: 0 + flat: true + icon.height: 170 + icon.width: 335 + display: AbstractButton.IconOnly + icon.color: "#0026282a" + icon.source: "Play Button/Play Idle.svg" + } + + Button { + id: optionsbut + x: 215 + y: 304 + width: 70 + height: 40 + visible: true + text: qsTr("Button") + topPadding: 0 + rightPadding: 0 + leftPadding: 0 + icon.width: 335 + icon.source: "Options/Options Idle.svg" + icon.height: 170 + icon.color: "#0026282a" + icon.cache: false + flat: true + display: AbstractButton.IconOnly + bottomPadding: 0 + } + + states: [ + State { + name: "clicked" + when: playbutt.pressed + + PropertyChanges { + target: playbutt + x: 40 + y: 55 + rightPadding: 0 + bottomPadding: 0 + leftPadding: 0 + topPadding: 0 + icon.source: "Play Button/Play pressed.svg" + } + }, + + State { + name: "Hover" + when: playbutt.hovered + + PropertyChanges { + target: playbutt + flat: true + icon.source: "Play Button/Play Active.svg" + } + }, + State { + name: "Folder Pressed" + when: folderbutt.pressed + + PropertyChanges { + target: folderbutt + icon.source: "Folder/Folder Pressed.svg" + icon.height: 170 + icon.width: 335 + icon.color: "#0026282a" + } + }, + + State { + name: "Folder Hover" + when: folderbutt.hovered + + PropertyChanges { + target: rectangle + color: "#2e2e2e" + } + + PropertyChanges { + target: folderbutt + x: 130 + y: 304 + icon.height: 170 + icon.width: 335 + icon.color: "#0026282a" + icon.source: "Folder/Folder Active.svg" + } + }, + State { + name: "Option Pressed" + when: optionsbut.pressed + + PropertyChanges { + target: optionsbut + icon.source: "Options/Options active.svg" + } + }, + State { + name: "OptionHover" + when: optionsbut.hovered + + PropertyChanges { + target: optionsbut + icon.source: "Options/Options Pressed.svg" + } + } + ] +} From 38d9805150993d01d34eeec578c7299af450bc8d Mon Sep 17 00:00:00 2001 From: UtkaG Date: Tue, 4 Nov 2025 15:48:24 +0000 Subject: [PATCH 07/10] revert d760bc2f83efda66a832fae6318303a7babb138d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert Загрузить файлы в «Ui-TEMP» --- Ui-TEMP/MinecraftUI.qml | 177 ------------------------------------- Ui-TEMP/MinecraftUI.ui.qml | 177 ------------------------------------- 2 files changed, 354 deletions(-) delete mode 100644 Ui-TEMP/MinecraftUI.qml delete mode 100644 Ui-TEMP/MinecraftUI.ui.qml diff --git a/Ui-TEMP/MinecraftUI.qml b/Ui-TEMP/MinecraftUI.qml deleted file mode 100644 index 3cdb676..0000000 --- a/Ui-TEMP/MinecraftUI.qml +++ /dev/null @@ -1,177 +0,0 @@ - - -/* -This is a UI file (.ui.qml) that is intended to be edited in Qt Design Studio only. -It is supposed to be strictly declarative and only uses a subset of QML. If you edit -this file manually, you might introduce QML code that is not supported by Qt Design Studio. -Check out https://doc.qt.io/qtcreator/creator-quick-ui-forms.html for details on .ui.qml files. -*/ -import QtQuick -import QtQuick.Controls -import UntitledProject1 - -Rectangle { - id: rectangle - width: Constants.width - height: Constants.height - color: "#2e2e2e" - radius: 0 - border.color: "#1a1a1a" - - Image { - id: kishkaProfileIdle - x: 40 - y: 239 - source: "Profile Box/Kishka Profile Idle.svg" - fillMode: Image.PreserveAspectFit - } - - Image { - id: kishkaVerIdle - x: 165 - y: 239 - source: "Version box/Kishka Ver idle.svg" - fillMode: Image.PreserveAspectFit - } - - Button { - id: folderbutt - x: 130 - y: 304 - width: 70 - height: 40 - visible: true - text: qsTr("Button") - topPadding: 0 - rightPadding: 0 - leftPadding: 0 - icon.width: 335 - icon.source: "Folder/Folder Idle.svg" - icon.height: 170 - icon.color: "#0026282a" - flat: true - display: AbstractButton.IconOnly - bottomPadding: 0 - } - - Button { - id: playbutt - x: 40 - y: 57 - width: 335 - height: 170 - visible: true - text: qsTr("Button") - icon.cache: false - rightPadding: 0 - bottomPadding: 0 - leftPadding: 0 - topPadding: 0 - flat: true - icon.height: 170 - icon.width: 335 - display: AbstractButton.IconOnly - icon.color: "#0026282a" - icon.source: "Play Button/Play Idle.svg" - } - - Button { - id: optionsbut - x: 215 - y: 304 - width: 70 - height: 40 - visible: true - text: qsTr("Button") - topPadding: 0 - rightPadding: 0 - leftPadding: 0 - icon.width: 335 - icon.source: "Options/Options Idle.svg" - icon.height: 170 - icon.color: "#0026282a" - icon.cache: false - flat: true - display: AbstractButton.IconOnly - bottomPadding: 0 - } - - states: [ - State { - name: "clicked" - when: playbutt.pressed - - PropertyChanges { - target: playbutt - x: 40 - y: 55 - rightPadding: 0 - bottomPadding: 0 - leftPadding: 0 - topPadding: 0 - icon.source: "Play Button/Play pressed.svg" - } - }, - - State { - name: "Hover" - when: playbutt.hovered - - PropertyChanges { - target: playbutt - flat: true - icon.source: "Play Button/Play Active.svg" - } - }, - State { - name: "Folder Pressed" - when: folderbutt.pressed - - PropertyChanges { - target: folderbutt - icon.source: "Folder/Folder Pressed.svg" - icon.height: 170 - icon.width: 335 - icon.color: "#0026282a" - } - }, - - State { - name: "Folder Hover" - when: folderbutt.hovered - - PropertyChanges { - target: rectangle - color: "#2e2e2e" - } - - PropertyChanges { - target: folderbutt - x: 130 - y: 304 - icon.height: 170 - icon.width: 335 - icon.color: "#0026282a" - icon.source: "Folder/Folder Active.svg" - } - }, - State { - name: "Option Pressed" - when: optionsbut.pressed - - PropertyChanges { - target: optionsbut - icon.source: "Options/Options active.svg" - } - }, - State { - name: "OptionHover" - when: optionsbut.hovered - - PropertyChanges { - target: optionsbut - icon.source: "Options/Options Pressed.svg" - } - } - ] -} diff --git a/Ui-TEMP/MinecraftUI.ui.qml b/Ui-TEMP/MinecraftUI.ui.qml deleted file mode 100644 index 3cdb676..0000000 --- a/Ui-TEMP/MinecraftUI.ui.qml +++ /dev/null @@ -1,177 +0,0 @@ - - -/* -This is a UI file (.ui.qml) that is intended to be edited in Qt Design Studio only. -It is supposed to be strictly declarative and only uses a subset of QML. If you edit -this file manually, you might introduce QML code that is not supported by Qt Design Studio. -Check out https://doc.qt.io/qtcreator/creator-quick-ui-forms.html for details on .ui.qml files. -*/ -import QtQuick -import QtQuick.Controls -import UntitledProject1 - -Rectangle { - id: rectangle - width: Constants.width - height: Constants.height - color: "#2e2e2e" - radius: 0 - border.color: "#1a1a1a" - - Image { - id: kishkaProfileIdle - x: 40 - y: 239 - source: "Profile Box/Kishka Profile Idle.svg" - fillMode: Image.PreserveAspectFit - } - - Image { - id: kishkaVerIdle - x: 165 - y: 239 - source: "Version box/Kishka Ver idle.svg" - fillMode: Image.PreserveAspectFit - } - - Button { - id: folderbutt - x: 130 - y: 304 - width: 70 - height: 40 - visible: true - text: qsTr("Button") - topPadding: 0 - rightPadding: 0 - leftPadding: 0 - icon.width: 335 - icon.source: "Folder/Folder Idle.svg" - icon.height: 170 - icon.color: "#0026282a" - flat: true - display: AbstractButton.IconOnly - bottomPadding: 0 - } - - Button { - id: playbutt - x: 40 - y: 57 - width: 335 - height: 170 - visible: true - text: qsTr("Button") - icon.cache: false - rightPadding: 0 - bottomPadding: 0 - leftPadding: 0 - topPadding: 0 - flat: true - icon.height: 170 - icon.width: 335 - display: AbstractButton.IconOnly - icon.color: "#0026282a" - icon.source: "Play Button/Play Idle.svg" - } - - Button { - id: optionsbut - x: 215 - y: 304 - width: 70 - height: 40 - visible: true - text: qsTr("Button") - topPadding: 0 - rightPadding: 0 - leftPadding: 0 - icon.width: 335 - icon.source: "Options/Options Idle.svg" - icon.height: 170 - icon.color: "#0026282a" - icon.cache: false - flat: true - display: AbstractButton.IconOnly - bottomPadding: 0 - } - - states: [ - State { - name: "clicked" - when: playbutt.pressed - - PropertyChanges { - target: playbutt - x: 40 - y: 55 - rightPadding: 0 - bottomPadding: 0 - leftPadding: 0 - topPadding: 0 - icon.source: "Play Button/Play pressed.svg" - } - }, - - State { - name: "Hover" - when: playbutt.hovered - - PropertyChanges { - target: playbutt - flat: true - icon.source: "Play Button/Play Active.svg" - } - }, - State { - name: "Folder Pressed" - when: folderbutt.pressed - - PropertyChanges { - target: folderbutt - icon.source: "Folder/Folder Pressed.svg" - icon.height: 170 - icon.width: 335 - icon.color: "#0026282a" - } - }, - - State { - name: "Folder Hover" - when: folderbutt.hovered - - PropertyChanges { - target: rectangle - color: "#2e2e2e" - } - - PropertyChanges { - target: folderbutt - x: 130 - y: 304 - icon.height: 170 - icon.width: 335 - icon.color: "#0026282a" - icon.source: "Folder/Folder Active.svg" - } - }, - State { - name: "Option Pressed" - when: optionsbut.pressed - - PropertyChanges { - target: optionsbut - icon.source: "Options/Options active.svg" - } - }, - State { - name: "OptionHover" - when: optionsbut.hovered - - PropertyChanges { - target: optionsbut - icon.source: "Options/Options Pressed.svg" - } - } - ] -} From 3737346bea3743259e4e3c1e1a36758f3b2e3993 Mon Sep 17 00:00:00 2001 From: galeon Date: Mon, 5 Oct 2026 06:41:26 +0000 Subject: [PATCH 08/10] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: galeon --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc76f50..56bff8c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# minecraft-launcher +# BiLauncher -Первая итерация самописного лаунчера для запуска сборок Minecraft +Самописный простой лаунчер для Minecraft без рекламы и ненужного мусора. From 694c7603b262d35cca9c282a5c41d3503174c453 Mon Sep 17 00:00:00 2001 From: galeon Date: Tue, 6 Oct 2026 10:42:50 +0000 Subject: [PATCH 09/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: galeon --- README.md | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 56bff8c..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# BiLauncher - -Самописный простой лаунчер для Minecraft без рекламы и ненужного мусора. - From 91483ea4685163bd2b13edb752955523edb1eaed Mon Sep 17 00:00:00 2001 From: galeon Date: Tue, 6 Oct 2026 10:43:08 +0000 Subject: [PATCH 10/10] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: galeon --- .gitignore | 60 ------------------------------------------------------ 1 file changed, 60 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3a70b02..0000000 --- a/.gitignore +++ /dev/null @@ -1,60 +0,0 @@ -# ---> C++ -# Prerequisites -*.d - -# Compiled Object files -*.slo -*.lo -*.o -*.obj - -# Precompiled Headers -*.gch -*.pch - -# Compiled Dynamic libraries -*.so -*.dylib -*.dll - -# Fortran module files -*.mod -*.smod - -# Compiled Static libraries -*.lai -*.la -*.a -*.lib - -# Executables -*.exe -*.out -*.app - -# ---> Java -# Compiled class file -*.class - -# Log file -*.log - -# BlueJ files -*.ctxt - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.jar -*.war -*.nar -*.ear -*.zip -*.tar.gz -*.rar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* -replay_pid* -