Skip to content

Commit

Permalink
Read config file from current directory instead of resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
h4de5 committed Dec 25, 2019
1 parent 8fcb88f commit b55bf55
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
Binary file removed assets/banner-scroll-upsidedown.png
Binary file not shown.
34 changes: 0 additions & 34 deletions assets/banner-scroll-upsidedown.png.import

This file was deleted.

2 changes: 1 addition & 1 deletion code/autoloads/config.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func _init():

func read_config():
var config = ConfigFile.new()
var err = config.load("res://settings.cfg")
var err = config.load("settings.cfg")
if err == OK: # if not, something went wrong with the file loading
print("loading settings.cfg")
familytreeFilename = config.get_value("familytree", "filename", "Stammbaum.ged")
Expand Down
4 changes: 2 additions & 2 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ custom_features=""
export_filter="all_resources"
include_filter="settings.cfg"
exclude_filter="_familytree/*,_familytree/Stammbaum*Media/*"
export_path="//home.pauschenwein.net/development/workspace/godot-familytree/dist/index.exe"
export_path="//home.pauschenwein.net/development/workspace/godot-familytree/dist/godot-familytree.exe"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
Expand All @@ -40,7 +40,7 @@ script_encryption_key=""
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/etc2=true
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
custom_template/release=""
Expand Down

0 comments on commit b55bf55

Please sign in to comment.