From 62fae0242370ae97c3721003a32366a0cba3a96e Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sun, 9 Aug 2026 02:52:53 +0200 Subject: [PATCH] throne: 1.2.2 -> 1.2.4 --- .../throne/nixos-disable-setuid-request.patch | 18 +++++++++++------- pkgs/by-name/th/throne/package.nix | 10 +++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/th/throne/nixos-disable-setuid-request.patch b/pkgs/by-name/th/throne/nixos-disable-setuid-request.patch index 72c5bb577d22..510c5961b3af 100644 --- a/pkgs/by-name/th/throne/nixos-disable-setuid-request.patch +++ b/pkgs/by-name/th/throne/nixos-disable-setuid-request.patch @@ -1,5 +1,5 @@ diff --git a/src/global/Configs.cpp b/src/global/Configs.cpp -index 37b69be..2d458f3 100644 +index 9600a95..ee38aaa 100644 --- a/src/global/Configs.cpp +++ b/src/global/Configs.cpp @@ -45,6 +45,12 @@ namespace Configs { @@ -15,11 +15,11 @@ index 37b69be..2d458f3 100644 auto fn = QApplication::applicationDirPath() + "/ThroneCore"; #ifdef Q_OS_WIN fn += ".exe"; -diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp -index 9acfee4..c0c313a 100644 ---- a/src/ui/mainwindow.cpp -+++ b/src/ui/mainwindow.cpp -@@ -163,8 +163,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi +diff --git a/src/ui/mainWindow/mainwindow_setup.cpp b/src/ui/mainWindow/mainwindow_setup.cpp +index 7bec187..0f04cc8 100644 +--- a/src/ui/mainWindow/mainwindow_setup.cpp ++++ b/src/ui/mainWindow/mainwindow_setup.cpp +@@ -207,8 +207,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi runOnNewThread([=, this] {GetDeviceDetails(); }); // Prepare core @@ -29,7 +29,11 @@ index 9acfee4..c0c313a 100644 bool coreDebugMode = (Configs::dataManager->settingsRepo->log_level == "debug"); -@@ -1296,6 +1295,15 @@ bool MainWindow::get_elevated_permissions(int reason) { +diff --git a/src/ui/mainWindow/mainwindow_system.cpp b/src/ui/mainWindow/mainwindow_system.cpp +index f1a7504..efffd4a 100644 +--- a/src/ui/mainWindow/mainwindow_system.cpp ++++ b/src/ui/mainWindow/mainwindow_system.cpp +@@ -193,6 +193,15 @@ bool MainWindow::get_elevated_permissions(ExitReason reason) { return true; } if (Configs::IsAdmin()) return true; diff --git a/pkgs/by-name/th/throne/package.nix b/pkgs/by-name/th/throne/package.nix index c55051e6a158..606c128c567f 100644 --- a/pkgs/by-name/th/throne/package.nix +++ b/pkgs/by-name/th/throne/package.nix @@ -21,20 +21,20 @@ # To get the latest revision go to the rule-set branch and get the revision of the last commit # Link: https://github.com/throneproj/routeprofiles/tree/rule-set throne-srslist-info ? { - rev = "ef80dfa41c3ba2d32c9c79b8ac930c4962cb589d"; - hash = "sha256-GKlrla/Zy+IE+V5zwDHw6oqzWBND/w7uUntnuJx5BJg="; + rev = "bf5016b114a2dee6a31aa269093de38892fb9df4"; + hash = "sha256-RfyFSCecfY1SfvO62nW72+4JLAP7qX8KmmWFGhRrC8I="; }, }: stdenv.mkDerivation (finalAttrs: { pname = "throne"; - version = "1.2.2"; + version = "1.2.4"; src = fetchFromGitHub { owner = "throneproj"; repo = "Throne"; tag = finalAttrs.version; - hash = "sha256-b0iLGQjG+Iz9ZQeR1El907SPIzXiwrgJt8oZHIDhABc="; + hash = "sha256-fDaU3xjrpjeW8MePBaj5aNGJ2GrNQ3/M3LhtBoU+I/A="; }; strictDeps = true; @@ -120,7 +120,7 @@ stdenv.mkDerivation (finalAttrs: { ./dont-check-parent.patch ]; - vendorHash = "sha256-oJE3xrFKBOtdFcZgpJNTe2xiAJfmiJTfnxaYZKM9a+w="; + vendorHash = "sha256-qr45kA/xw3NARNUAj5OMjNE1JUeYQXkEXArsyc9K5jA="; nativeBuildInputs = [ protobuf