@@ -905,7 +905,7 @@ def list_vpk_files(vpk_path):
905
905
repo_name = "SourceSDK-"
906
906
907
907
# Replace this with the version of your local software
908
- local_version = "0.1.2 "
908
+ local_version = "0.1.3 "
909
909
910
910
github_version = get_latest_release_version (repo_owner , repo_name )
911
911
@@ -960,14 +960,15 @@ def list_vpk_files(vpk_path):
960
960
root .bind ("<Control-n>" , handle_shortcut )
961
961
root .bind ("<Control-o>" , handle_shortcut )
962
962
963
- iconHpp = tk .PhotoImage (file = os .getcwd () + "/icons/hpp.png" )
964
- iconHammer = tk .PhotoImage (file = os .getcwd () + "/icons/hammer.png" )
965
- iconSource = tk .PhotoImage (file = os .getcwd () + "/icons/source.png" )
966
- iconHLMV = tk .PhotoImage (file = os .getcwd () + "/icons/hlmv.png" )
967
- iconQc_eyes = tk .PhotoImage (file = os .getcwd () + "/icons/qc_eyes.png" )
968
- iconHlposer = tk .PhotoImage (file = os .getcwd () + "/icons/hlposer.png" )
969
- iconVisualStudio = tk .PhotoImage (file = os .getcwd () + "/icons/Visual_Studio.png" )
970
- iconVTFEdit = tk .PhotoImage (file = os .getcwd () + "/icons/VTFEdit.png" )
963
+ base_path = os .path .dirname (os .path .abspath (__file__ ))
964
+ iconHpp = tk .PhotoImage (file = os .path .join (base_path , "icons" , "hpp.png" ))
965
+ iconHammer = tk .PhotoImage (file = os .path .join (base_path , "icons" , "hammer.png" ))
966
+ iconSource = tk .PhotoImage (file = os .path .join (base_path , "icons" , "source.png" ))
967
+ iconHLMV = tk .PhotoImage (file = os .path .join (base_path , "icons" , "hlmv.png" ))
968
+ iconQc_eyes = tk .PhotoImage (file = os .path .join (base_path , "icons" , "qc_eyes.png" ))
969
+ iconHlposer = tk .PhotoImage (file = os .path .join (base_path , "icons" , "hlposer.png" ))
970
+ iconVisualStudio = tk .PhotoImage (file = os .path .join (base_path , "icons" , "Visual_Studio.png" ))
971
+ iconVTFEdit = tk .PhotoImage (file = os .path .join (base_path , "icons" , "VTFEdit.png" ))
971
972
972
973
# Start the GUI event loop
973
974
root .mainloop ()
0 commit comments