Clone in a terminal:
Commit d83d57b
Johan Mattsson - 2013-07-18T10:25:41+00:00
d83d57bd0aa39e562870e58a2709e4356ebc9f76johan.mattsson.m@gmail.com

windows search paths

Changed files (2)

Diff

diff --git a/libbirdfont/SearchPaths.vala b/libbirdfont/SearchPaths.valaindex 10c41cf..f402fa3 100644--- a/libbirdfont/SearchPaths.vala+++ b/libbirdfont/SearchPaths.vala@@ -27,6 +27,12 @@ public class SearchPaths { 		f = get_file (BirdFont.exec_path + "/", name + "/"); 		if (likely (f.query_exists ())) return f; +		f = get_file (BirdFont.exec_path + "\\" + d + "\\", name);+		if (likely (f.query_exists ())) return f;+		+		f = get_file (BirdFont.exec_path + "\\", name + "\\");+		if (likely (f.query_exists ())) return f;+		 		f = get_file (BirdFont.exec_path + "/Contents/Resources/", d + "/" + name); 		if (likely (f.query_exists ())) return f; diff --git a/scripts/win_build.py b/scripts/win_build.pyindex 69d2df8..756c147 100755--- a/scripts/win_build.py+++ b/scripts/win_build.py@@ -398,7 +398,6 @@ def copy_runtime_dependencies (): 	run("cp /usr/share/unicode/NamesList.txt ./build/supplement/")  	run("cp ./README ./build/supplement/")-	run("cp ./COPYING ./build/supplement/") 	run("cp ./NEWS ./build/supplement/") 	 	run("cp -ra ./layout/ ./build/supplement/")

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112