Skip to content

Commit

Permalink
refactor(client): move app_paths.ts to client/electron (#2020)
Browse files Browse the repository at this point in the history
* refactor(client): move `app_paths.ts` to `client/electron`

* Fix lint issue.
  • Loading branch information
sbruens authored May 23, 2024
1 parent 9c04bd4 commit 6d5895a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion client/electron/go_vpn_tunnel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import {platform} from 'os';

import {powerMonitor} from 'electron';

import {pathToEmbeddedTun2socksBinary} from './app_paths';
import {ChildProcessHelper, ProcessTerminatedExitCodeError, ProcessTerminatedSignalError} from './process';
import {RoutingDaemon} from './routing_service';
import {VpnTunnel} from './vpn_tunnel';
import {pathToEmbeddedTun2socksBinary} from '../infrastructure/electron/app_paths';
import {ShadowsocksSessionConfig, TunnelStatus} from '../src/www/app/tunnel';
import {ErrorCode, fromErrorCode, UnexpectedPluginError} from '../src/www/model/errors';

Expand Down
2 changes: 1 addition & 1 deletion client/electron/routing_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as path from 'path';
import * as fsextra from 'fs-extra';
import * as sudo from 'sudo-prompt';

import {pathToEmbeddedOutlineService} from '../infrastructure/electron/app_paths';
import {pathToEmbeddedOutlineService} from './app_paths';
import {TunnelStatus} from '../src/www/app/tunnel';
import {ErrorCode, SystemConfigurationException} from '../src/www/model/errors';

Expand Down
2 changes: 1 addition & 1 deletion client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"lib": ["es2022"]
},
"exclude": ["*.cjs", "*.js", "*.mjs", "**/*.spec.ts"],
"include": ["src", "infrastructure"]
"include": ["src"]
}

0 comments on commit 6d5895a

Please sign in to comment.