Fixed issue with folder capitalization

This commit is contained in:
bio2hazard
2025-11-07 22:27:56 -08:00
parent 7611338804
commit 79721064ff
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ async def get_words(request):
if base_user_dir:
try:
os.makedirs(base_user_dir, exist_ok=True)
user_data_dir = os.path.join(base_user_dir, "comfyui-prompt-snippets")
user_data_dir = os.path.join(base_user_dir, "ComfyUI-Prompt-Snippets")
is_new_dir = not os.path.exists(user_data_dir)
+1 -1
View File
@@ -10,7 +10,7 @@ app.registerExtension({
const link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'extensions/comfyui-prompt-snippets/autocomplete.css';
link.href = 'extensions/ComfyUI-Prompt-Snippets/autocomplete.css';
document.head.appendChild(link);
const words = await getWords();
+4 -4
View File
@@ -12,7 +12,7 @@ app.registerExtension({
}
const setting_debug = app.ui.settings.addSetting({
id: "cpe.debugOutput",
id: "promptsnippets.debugOutput",
name: "CPS: Enable debug logging to console",
defaultValue: false,
type: "boolean",
@@ -22,7 +22,7 @@ app.registerExtension({
});
const setting_trigger = app.ui.settings.addSetting({
id: "cpe.triggerCharacter",
id: "promptsnippets.triggerCharacter",
name: "CPS: Trigger character for autocomplete",
defaultValue: "@",
type: "text",
@@ -32,7 +32,7 @@ app.registerExtension({
});
const disabledCategoriesSetting = app.ui.settings.addSetting({
id: "cpe.disabledCategories",
id: "promptsnippets.disabledCategories",
name: "CPS: Disabled Categories",
defaultValue: [],
type: "hidden",
@@ -45,7 +45,7 @@ app.registerExtension({
for (const category of categories) {
app.ui.settings.addSetting({
id: `cpe.category.${category}`,
id: `promptsnippets.category.${category}`,
name: `Category Toggle: ${category}`,
defaultValue: !settings.disabledCategories.includes(category),
type: "boolean",
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "ComfyUI-Prompt-Snippets"
description = "ComfyUI Prompt Snippets provides autocompletion, randomization and snippet insertion to help you write prompts faster and more efficiently. No custom node needed!"
version = "1.0.0"
version = "1.0.1"
license = {file = "LICENSE"}
classifiers = [
# For OS-independent nodes (works on all operating systems)