Fixed issue with folder capitalization
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user