Skip to content

Instantly share code, notes, and snippets.

@iliekturtles
Created March 27, 2024 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iliekturtles/0ce95587628389caeaf6679da772abd6 to your computer and use it in GitHub Desktop.
Save iliekturtles/0ce95587628389caeaf6679da772abd6 to your computer and use it in GitHub Desktop.
path-of-building-community-git patch
diff --git a/PKGBUILD b/PKGBUILD
index fb9abb8..d6e7f5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: bcareil <baptiste.careil@gmail.com>
pkgname='path-of-building-community-git'
-pkgrel=1
+pkgrel=2
pkgdesc="An offline build planner for Path of Exile using PoBFrontend, LocalIdentity's fork"
arch=('x86_64')
url='https://github.com/PathOfBuildingCommunity/PathOfBuilding'
license=('MIT')
-pkgver=2.41.0.1bed7eb
+pkgver=2.41.1.r7815.62.517
depends=('zlib' 'qt6-base' 'luajit' 'libgl' 'curl' 'ttf-liberation' 'ttf-bitstream-vera')
makedepends=('meson' 'ninja' 'unzip' 'rsync' 'git')
@@ -30,7 +30,7 @@ sha256sums=(
'6d21872a2b2bdbfaebb20de5cac28ac402316e5314c97a89049320ff13c2f622'
'30118e22623b645a5e2cc81240fcf36d5189613383a09d1225aa3a76f7eba245'
'9dbc8802b74ceed78f1a6ba1d5b90251f5ae7f9a8cf5497426e4a35001112fcd'
- 'cd46475a1bc62240e03abb6b385b0c9b0b911ad828219fd31f98f7742807f935'
+ 'cab009c706747d45f654a3afc2a3cde3a650eb84cd4230353b40df5a4ad1d68b'
'2467d10c7b5e201e337ba334a829e293a07027251bcda2b1f39774a62e8ff194'
'a64198061f60168ec07df33c37948e343eced7eeafe574cc20bdcf3a1d480cbc'
'079eff1a5e74cb6d776723f7c3d36349e426edaa332a8177ff8f5e78af56cf64'
diff --git a/PathOfBuilding-force-disable-devmode.patch b/PathOfBuilding-force-disable-devmode.patch
index 6f697bb..d61c389 100644
--- a/PathOfBuilding-force-disable-devmode.patch
+++ b/PathOfBuilding-force-disable-devmode.patch
@@ -1,17 +1,17 @@
diff --git a/src/Launch.lua b/src/Launch.lua
-index 0673314..39800ae 100644
+index 0775ec4dc..a5113655c 100644
--- a/src/Launch.lua
+++ b/src/Launch.lua
-@@ -51,7 +51,7 @@ function launch:OnInit()
+@@ -56,7 +56,7 @@ function launch:OnInit()
if localManXML and not self.versionBranch and not self.versionPlatform then
-- Looks like a remote manifest, so we're probably running from a repository
-- Enable dev mode to disable updates and set user path to be the script path
- self.devMode = true
+ self.devMode = false
end
- RenderInit()
- ConPrintf("Loading main script...")
-@@ -286,6 +286,8 @@ function launch:ApplyUpdate(mode)
+ local installedFile = io.open("installed.cfg", "r")
+ if installedFile then
+@@ -324,6 +324,8 @@ function launch:ApplyUpdate(mode)
end
function launch:CheckForUpdate(inBackground)
@@ -20,7 +20,7 @@ index 0673314..39800ae 100644
if self.updateCheckRunning then
return
end
-@@ -302,6 +304,7 @@ function launch:CheckForUpdate(inBackground)
+@@ -340,6 +342,7 @@ function launch:CheckForUpdate(inBackground)
self.updateCheckRunning = true
end
update:close()
@@ -29,13 +29,13 @@ index 0673314..39800ae 100644
function launch:ShowPrompt(r, g, b, str, func)
diff --git a/src/Modules/Main.lua b/src/Modules/Main.lua
-index 1af88e0..683fc33 100644
+index 39385efab..144e072ef 100644
--- a/src/Modules/Main.lua
+++ b/src/Modules/Main.lua
-@@ -42,7 +42,7 @@ function main:Init()
- self.modes["LIST"] = LoadModule("Modules/BuildList")
- self.modes["BUILD"] = LoadModule("Modules/Build")
-
+@@ -73,7 +73,7 @@ function main:Init()
+ if not ignoreBuild then
+ self:SetMode("BUILD", false, "Unnamed build")
+ end
- if launch.devMode or (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
+ if launch.devMode and (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
-- If running in dev mode or standalone mode, put user data in the script path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment