Skip to content

Commit

Permalink
Fix for go runner in asar build (#126)
Browse files Browse the repository at this point in the history
* Try moving around the go runner

* Seems to be working

* Fix for format
  • Loading branch information
eatonphil committed Dec 21, 2021
1 parent 9fd01ba commit c421502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/app.ts
Expand Up @@ -2,7 +2,7 @@ import { app, ipcMain } from 'electron';
import path from 'path';
import { APP_NAME, DEBUG, VERSION } from '../shared/constants';
import log from '../shared/log';
import { CODE_ROOT, IS_DESKTOP_RUNNER } from './constants';
import { IS_DESKTOP_RUNNER } from './constants';
import { configureLogger } from './log';
import { openWindow } from './project';
import { registerRPCHandlers } from './rpc';
Expand All @@ -28,7 +28,7 @@ function main() {
const { handlers, project } = initialize({
subprocess: {
node: path.join(__dirname, 'desktop_runner.js'),
go: path.join(CODE_ROOT, 'build', 'go_desktop_runner'),
go: path.join(__dirname, 'go_desktop_runner'),
},
additionalHandlers: storeHandlers,
});
Expand Down

0 comments on commit c421502

Please sign in to comment.