diff --git a/client/src/www/build.action.mjs b/client/src/www/build.action.mjs index a269b33294..6daf6277e1 100644 --- a/client/src/www/build.action.mjs +++ b/client/src/www/build.action.mjs @@ -56,8 +56,10 @@ export async function main(...parameters) { } } + await fs.mkdir(path.resolve(getRootDir(), 'client', 'www'), {recursive: true}); + await fs.writeFile( - path.resolve(getRootDir(), 'www', 'environment.json'), + path.resolve(getRootDir(), 'client', 'www', 'environment.json'), JSON.stringify({ SENTRY_DSN: sentryDsn, APP_VERSION: versionName, diff --git a/server_manager/electron_app/windows/sign_windows_executable.mjs b/server_manager/electron_app/windows/sign_windows_executable.mjs index a7060acaa5..92c13baa22 100644 --- a/server_manager/electron_app/windows/sign_windows_executable.mjs +++ b/server_manager/electron_app/windows/sign_windows_executable.mjs @@ -19,7 +19,7 @@ import {dirname, resolve} from 'path'; import {fileURLToPath, pathToFileURL} from 'url'; import {format} from 'util'; -import {jsign} from '../../../../third_party/jsign/index.mjs'; +import {jsign} from '../../../third_party/jsign/index.mjs'; /** * Get the parent folder path of this script.