feat: overhaul server automation, files editor, and CS2 setup workflows
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
// Proto generated types will be exported here after running `pnpm generate`
|
||||
// For now, this is a placeholder
|
||||
|
||||
export const PROTO_PATH = new URL('../daemon.proto', import.meta.url).pathname;
|
||||
const moduleUrl = (import.meta as ImportMeta & { url: string }).url;
|
||||
|
||||
export const PROTO_PATH = decodeURIComponent(
|
||||
moduleUrl
|
||||
.replace(/^file:\/\//, '')
|
||||
.replace(/\/src\/index\.(ts|js)$/, '/daemon.proto'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user