Skip to content

Commit

Permalink
MORE pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Apr 3, 2024
1 parent 6b1a55a commit 1876f2b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/cordova/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function main(...parameters) {
}

// this is so cordova doesn't complain about not being in a cordova project
process.env.PWD = getRootDir();
process.env.PWD = path.resolve(getRootDir(), 'client');

switch (platform + buildMode) {
case 'android' + 'debug':
Expand Down
2 changes: 1 addition & 1 deletion client/src/cordova/setup.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function main(...parameters) {
}

// this is so cordova doesn't complain about not being in a cordova project
process.env.PWD = getRootDir();
process.env.PWD = path.resolve(getRootDir(), 'client');

switch (platform + buildMode) {
case 'android' + 'debug':
Expand Down
2 changes: 1 addition & 1 deletion src/electron/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.

import minimist from 'minimist';
import {getBuildParameters} from '../../client/src/build/get_build_parameters.mjs';
import {runAction} from '../build/run_action.mjs';
import {getBuildParameters} from '../../client/src/build/get_build_parameters.mjs';
import electron, {Platform} from 'electron-builder';
import copydir from 'copy-dir';
import fs from 'fs/promises';
Expand Down
4 changes: 2 additions & 2 deletions src/electron/build_main.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import {getBuildParameters} from '../build/get_build_parameters.mjs';
import {getWebpackBuildMode} from '../build/get_webpack_build_mode.mjs';
import {runAction} from '../build/run_action.mjs';
import {getBuildParameters} from '../../client/src/build/get_build_parameters.mjs';
import {getWebpackBuildMode} from '../../client/src/build/get_webpack_build_mode.mjs';
import {runWebpack} from '../../client/src/build/run_webpack.mjs';
import electronMainWebpackConfigs from './webpack_electron_main.mjs';
import fs from 'fs/promises';
Expand Down

0 comments on commit 1876f2b

Please sign in to comment.