Skip to content

Commit 95ff7f6

Browse files
GuitarBroGuitarBro
GuitarBro
authored and
GuitarBro
committed
Use os.path.join for app/client/dist for cross-platform support.
1 parent 493e585 commit 95ff7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub_patcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
subprocess.run("npx asar extract app.asar app", shell=True)
229229
print("Backing up...")
230230
os.rename("app.asar", "app.asar.bak")
231-
os.chdir("app\client\dist")
231+
os.chdir(os.path.join("app", "client", "dist"))
232232

233233
print("Patching...")
234234
for line in fileinput.FileInput("index.html", inplace=1):

0 commit comments

Comments
 (0)