Path of Building for Mac! 3.26-ready

"
Zuuule#6329 написал:
"
seneoeh#4732 написал:
Edit: I've managed to find the issue. This is something to do with a text font. In classes/tooltip.lua, at line 85, if I remove the "font or" to use "VAR" as default font I don't crash anymore.This is probably just a temp/dirty fix as more custom font are probably used elsewhere and will cause more issues.


Can you please explain how I do this.



Go to your /Applications folder.
Right click "Path of building", and select "Show Package Contents".
Navigate to Contents/MacOS/Classes.
Open "Tooltip.lua" with a text editor.
Change line 85 from
"
fontToUse = font or "VAR"

to
"
fontToUse = "VAR"

Save the file, launch Path of building and it should work again.
Works great!
You're the man @seneoeh!
"
seneoeh#4732 написал:
"
Zuuule#6329 написал:
"
seneoeh#4732 написал:
Edit: I've managed to find the issue. This is something to do with a text font. In classes/tooltip.lua, at line 85, if I remove the "font or" to use "VAR" as default font I don't crash anymore.This is probably just a temp/dirty fix as more custom font are probably used elsewhere and will cause more issues.


Can you please explain how I do this.



Go to your /Applications folder.
Right click "Path of building", and select "Show Package Contents".
Navigate to Contents/MacOS/Classes.
Open "Tooltip.lua" with a text editor.
Change line 85 from
"
fontToUse = font or "VAR"

to
"
fontToUse = "VAR"

Save the file, launch Path of building and it should work again.


Worked like a charm! Thank you for the detailed explanation on how to fix this myself!
Can someone dumb this down for me please?


Updating Path of Building data from source

If I've released a new version above, you can just download it from the link. If I haven't (usually because I've quit the league or am traveling) and you're at least vaguely familiar with git, follow these directions:


cd ~/Downloads
curl https://raw.githubusercontent.com/hsource/pobfrontend/master/editPathOfBuildingBuild.sh > editPathOfBuildingBuild.sh

# Get a fresh checkout of the latest version
git clone https://github.com/PathOfBuildingCommunity/PathOfBuilding.git
cd PathOfBuilding
git add . && git reset --hard HEAD && git pull
# Make a few modifications
bash ../editPathOfBuildingBuild.sh

# Copy into the app
cp -rf * /Applications/PathOfBuilding.app/Contents/MacOS


I can run it but after a few min it crashes.
Any ideas?
Is it possible to have the application handle the pob:// URI scheme, e.g. so that I can click the "Open" button on pobb.in and have the build open on my Mac?

I associated the URI scheme with the application via SwiftDefaultApps, but clicking the Open button only opens an empty build, but doesn't load the actual URL.

Пожаловаться на запись форума

Пожаловаться на учетную запись:

Тип жалобы

Дополнительная информация