Skip to content

Commit

Permalink
Adjusting paths for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Swoffa committed Apr 26, 2022
1 parent 7101728 commit 43ec84c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion KickassTooltips.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def load(self):
setup_logging(self.log_level)

plug_path = sublime.packages_path()
default_css = os.path.join(plug_path, 'SublimeKickAssemblerC64/css/default.css')
default_css = os.path.join(plug_path, 'Kick Assembler (C64)/css/default.css')

KickAssTooltip.css_file = self.settings.get('css_file', default_css)

Expand Down
4 changes: 2 additions & 2 deletions KickassTooltips.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"css_file": "SublimeKickAssemblerC64/css/default.css",
"help_directories": ["SublimeKickAssemblerC64/helpdb"],
"css_file": "Kick Assembler (C64)/css/default.css",
"help_directories": ["Kick Assembler (C64)/helpdb"],
"scopes": ["source.assembly.kickassembler"],
"log_level": "warning"
}
10 changes: 5 additions & 5 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"command": "open_file",
"args": {
"file": "${packages}/SublimeKickAssemblerC64/README.md",
"file": "${packages}/Kick Assembler (C64)/README.md",
},
"caption": "README"
},
Expand All @@ -23,15 +23,15 @@
"caption": "Preferences",
"command": "edit_settings",
"args": {
"base_file": "${packages}/SublimeKickAssemblerC64/Preferences.sublime-settings",
"default": "// Settings in here override those in \"/SublimeKickAssemblerC64/Preferences.sublime-settings\",\n\n{\n\t$0\n}\n"}
"base_file": "${packages}/Kick Assembler (C64)/Preferences.sublime-settings",
"default": "// Settings in here override those in \"/Kick Assembler (C64)/Preferences.sublime-settings\",\n\n{\n\t$0\n}\n"}
},
{
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/SublimeKickAssemblerC64/KickAssembler (C64).sublime-settings",
"default": "// Settings in here override those in \"/SublimeKickAssemblerC64/KickAssembler (C64).sublime-settings\",\n\n{\n\t$0\n}\n"}
"base_file": "${packages}/Kick Assembler (C64)/KickAssembler (C64).sublime-settings",
"default": "// Settings in here override those in \"/Kick Assembler (C64)/KickAssembler (C64).sublime-settings\",\n\n{\n\t$0\n}\n"}
},
]
},
Expand Down

0 comments on commit 43ec84c

Please sign in to comment.