mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
Fix bug 76637
This commit is contained in:
@ -79,9 +79,8 @@ if not os.path.isdir(testDevelopVersion):
|
||||
x2tDir = curDirectory + "/../FileConverter/bin"
|
||||
cur_dir = os.getcwd()
|
||||
os.chdir(x2tDir)
|
||||
x2tBin = curDirectory + "/../FileConverter/bin/x2t"
|
||||
if ("windows" == platform.system().lower()):
|
||||
subprocess.call(["x2t.exe", "-create-js-cache"], stderr=subprocess.STDOUT, shell=True)
|
||||
else:
|
||||
subprocess.call("x2t -create-js-cache", stderr=subprocess.STDOUT, shell=True)
|
||||
subprocess.call("./x2t -create-js-cache", stderr=subprocess.STDOUT, shell=True)
|
||||
os.chdir(cur_dir)
|
||||
|
||||
Reference in New Issue
Block a user