mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
Fix directory not opening
This commit is contained in:
12
.idea/discord.xml
generated
Normal file
12
.idea/discord.xml
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DiscordProjectSettings">
|
||||||
|
<option name="show" value="PROJECT_FILES" />
|
||||||
|
<option name="description" value="Viral Factory is a highly modular gradio app that automates the production of various forms of social media content." />
|
||||||
|
<option name="theme" value="material" />
|
||||||
|
<option name="button1Title" value="View code" />
|
||||||
|
<option name="button1Url" value="https://github.com/Paillat-dev/viralfactory" />
|
||||||
|
<option name="button2Title" value="" />
|
||||||
|
<option name="button2Url" value="" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -193,6 +193,6 @@ class GenerationContext:
|
|||||||
self.progress(1, "Done!")
|
self.progress(1, "Done!")
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
os.system(f"start {self.dir}")
|
os.system(f"start {os.path.abspath(self.dir)}")
|
||||||
else:
|
else:
|
||||||
os.system(f"open {self.dir}")
|
os.system(f"open {self.dir}")
|
||||||
|
|||||||
Reference in New Issue
Block a user