Skip to content

Commit 9a200dc

Browse files
committed
Replace remote wrapper module with Vite alias.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent d42b752 commit 9a200dc

File tree

8 files changed

+203
-73
lines changed

8 files changed

+203
-73
lines changed

app/common/config-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import * as Sentry from "@sentry/electron";
55
import {JsonDB} from "node-json-db";
66
import {DataError} from "node-json-db/dist/lib/Errors";
77
import type * as z from "zod";
8+
import {app, dialog} from "zulip:remote";
89

910
import {configSchemata} from "./config-schemata.js";
1011
import * as EnterpriseUtil from "./enterprise-util.js";
1112
import Logger from "./logger-util.js";
12-
import {app, dialog} from "./remote.js";
1313

1414
export type Config = {
1515
[Key in keyof typeof configSchemata]: z.output<typeof configSchemata[Key]>;

app/common/default-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from "node:fs";
22

3-
import {app} from "./remote.js";
3+
import {app} from "zulip:remote";
44

55
let setupCompleted = false;
66

app/common/logger-util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import fs from "node:fs";
33
import os from "node:os";
44
import process from "node:process";
55

6+
import {app} from "zulip:remote";
7+
68
import {initSetUp} from "./default-util.js";
7-
import {app} from "./remote.js";
89

910
type LoggerOptions = {
1011
file?: string;

app/common/remote.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)